Ruby
2.7.1p83(2020-03-31revisiona0c7c23c9cec0d0ffcba012279cd652d28ad5bf3)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509Attr(klass) TypedData_Wrap_Struct((klass), &ossl_x509attr_type, 0) |
#define | SetX509Attr(obj, attr) |
#define | GetX509Attr(obj, attr) |
Functions | |
VALUE | ossl_x509attr_new (X509_ATTRIBUTE *attr) |
X509_ATTRIBUTE * | GetX509AttrPtr (VALUE obj) |
void | Init_ossl_x509attr (void) |
Variables | |
VALUE | cX509Attr |
VALUE | eX509AttrError |
#define GetX509Attr | ( | obj, | |
attr | |||
) |
Definition at line 20 of file ossl_x509attr.c.
#define NewX509Attr | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509attr_type, 0) |
Definition at line 12 of file ossl_x509attr.c.
#define SetX509Attr | ( | obj, | |
attr | |||
) |
Definition at line 14 of file ossl_x509attr.c.
X509_ATTRIBUTE* GetX509AttrPtr | ( | VALUE | obj | ) |
Definition at line 71 of file ossl_x509attr.c.
References GetX509Attr, and obj.
Definition at line 305 of file ossl_x509attr.c.
References cX509Attr, eOSSLError, eX509AttrError, 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_x509attr_new | ( | X509_ATTRIBUTE * | attr | ) |
Definition at line 51 of file ossl_x509attr.c.
References cX509Attr, eX509AttrError, NewX509Attr, NULL, obj, ossl_raise(), and SetX509Attr.
VALUE cX509Attr |
Definition at line 30 of file ossl_x509attr.c.
Referenced by Init_ossl_x509attr(), and ossl_x509attr_new().
VALUE eX509AttrError |
Definition at line 31 of file ossl_x509attr.c.
Referenced by Init_ossl_x509attr(), and ossl_x509attr_new().