Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509Name(klass) TypedData_Wrap_Struct((klass), &ossl_x509name_type, 0) |
#define | SetX509Name(obj, name) |
#define | GetX509Name(obj, name) |
#define | OBJECT_TYPE_TEMPLATE rb_const_get(cX509Name, rb_intern("OBJECT_TYPE_TEMPLATE")) |
#define | DEFAULT_OBJECT_TYPE rb_const_get(cX509Name, rb_intern("DEFAULT_OBJECT_TYPE")) |
#define | rb_aref(obj, key) rb_funcall((obj), id_aref, 1, (key)) |
Functions | |
VALUE | ossl_x509name_new (X509_NAME *name) |
X509_NAME * | GetX509NamePtr (VALUE obj) |
void | Init_ossl_x509name (void) |
Variables | |
VALUE | cX509Name |
VALUE | eX509NameError |
#define DEFAULT_OBJECT_TYPE rb_const_get(cX509Name, rb_intern("DEFAULT_OBJECT_TYPE")) |
Definition at line 29 of file ossl_x509name.c.
#define GetX509Name | ( | obj, | |
name | |||
) |
Definition at line 20 of file ossl_x509name.c.
Referenced by GetX509NamePtr().
#define NewX509Name | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509name_type, 0) |
Definition at line 12 of file ossl_x509name.c.
Referenced by ossl_x509name_new().
#define OBJECT_TYPE_TEMPLATE rb_const_get(cX509Name, rb_intern("OBJECT_TYPE_TEMPLATE")) |
Definition at line 27 of file ossl_x509name.c.
#define rb_aref | ( | obj, | |
key | |||
) | rb_funcall((obj), id_aref, 1, (key)) |
Definition at line 105 of file ossl_x509name.c.
#define SetX509Name | ( | obj, | |
name | |||
) |
Definition at line 14 of file ossl_x509name.c.
Referenced by ossl_x509name_new().
X509_NAME* GetX509NamePtr | ( | VALUE | obj | ) |
Definition at line 76 of file ossl_x509name.c.
References GetX509Name, and name.
void Init_ossl_x509name | ( | void | ) |
Definition at line 503 of file ossl_x509name.c.
Referenced by Init_ossl_x509().
VALUE ossl_x509name_new | ( | X509_NAME * | name | ) |
Definition at line 56 of file ossl_x509name.c.
References cX509Name, eX509NameError, NewX509Name, NULL, ossl_raise(), and SetX509Name.
VALUE cX509Name |
Definition at line 35 of file ossl_x509name.c.
Referenced by ossl_x509name_new().
VALUE eX509NameError |
Definition at line 36 of file ossl_x509name.c.
Referenced by ossl_x509name_new().