Ruby
3.1.0dev(2021-09-10revisionb76ad15ed0da636161de0243c547ee1e6fc95681)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509Ext(klass) TypedData_Wrap_Struct((klass), &ossl_x509ext_type, 0) |
#define | SetX509Ext(obj, ext) |
#define | GetX509Ext(obj, ext) |
#define | MakeX509ExtFactory(klass, obj, ctx) |
#define | GetX509ExtFactory(obj, ctx) |
Functions | |
VALUE | ossl_x509ext_new (X509_EXTENSION *ext) |
X509_EXTENSION * | GetX509ExtPtr (VALUE obj) |
void | Init_ossl_x509ext (void) |
Variables | |
VALUE | cX509Ext |
VALUE | cX509ExtFactory |
VALUE | eX509ExtError |
#define GetX509Ext | ( | obj, | |
ext | |||
) |
Definition at line 20 of file ossl_x509ext.c.
#define GetX509ExtFactory | ( | obj, | |
ctx | |||
) |
Definition at line 33 of file ossl_x509ext.c.
#define MakeX509ExtFactory | ( | klass, | |
obj, | |||
ctx | |||
) |
Definition at line 26 of file ossl_x509ext.c.
#define NewX509Ext | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509ext_type, 0) |
Definition at line 12 of file ossl_x509ext.c.
#define SetX509Ext | ( | obj, | |
ext | |||
) |
Definition at line 14 of file ossl_x509ext.c.
X509_EXTENSION* GetX509ExtPtr | ( | VALUE | obj | ) |
Definition at line 85 of file ossl_x509ext.c.
References GetX509Ext.
void Init_ossl_x509ext | ( | void | ) |
Definition at line 450 of file ossl_x509ext.c.
References cX509ExtFactory, eOSSLError, eX509ExtError, mOSSL, mX509, rb_cObject, rb_define_alloc_func(), rb_define_class_under(), rb_define_module(), rb_define_module_under(), and rb_eStandardError.
Referenced by Init_ossl_x509().
VALUE ossl_x509ext_new | ( | X509_EXTENSION * | ext | ) |
Definition at line 65 of file ossl_x509ext.c.
References cX509Ext, eX509ExtError, NewX509Ext, NULL, ossl_raise(), and SetX509Ext.
VALUE cX509Ext |
Definition at line 43 of file ossl_x509ext.c.
Referenced by ossl_x509ext_new().
VALUE cX509ExtFactory |
Definition at line 44 of file ossl_x509ext.c.
Referenced by Init_ossl_x509ext().
VALUE eX509ExtError |
Definition at line 45 of file ossl_x509ext.c.
Referenced by Init_ossl_x509ext(), and ossl_x509ext_new().