Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
|
#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.
#define NewX509Name | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509name_type, 0) |
Definition at line 12 of file ossl_x509name.c.
#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.
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 507 of file ossl_x509name.c.
References cX509Name, eOSSLError, eX509NameError, INT2NUM, mOSSL, mX509, rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_const(), rb_define_method, rb_define_module(), rb_define_module_under(), rb_eStandardError, rb_hash_aset(), rb_hash_new(), rb_include_module(), rb_intern(), rb_mComparable, rb_str_new2, RHASH_SET_IFNONE, and ULONG2NUM.
Referenced by Init_ossl_x509().
VALUE ossl_x509name_new | ( | X509_NAME * | name | ) |
Definition at line 56 of file ossl_x509name.c.
References cX509Name, eX509NameError, name, NewX509Name, NULL, ossl_raise(), and SetX509Name.
VALUE cX509Name |
Definition at line 35 of file ossl_x509name.c.
Referenced by Init_ossl_x509name(), and ossl_x509name_new().
VALUE eX509NameError |
Definition at line 36 of file ossl_x509name.c.
Referenced by Init_ossl_x509name(), and ossl_x509name_new().