Ruby
2.5.0dev(2017-10-22revision60238)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509(klass) TypedData_Wrap_Struct((klass), &ossl_x509_type, 0) |
#define | SetX509(obj, x509) |
#define | GetX509(obj, x509) |
Functions | |
VALUE | ossl_x509_new (X509 *x509) |
X509 * | GetX509CertPtr (VALUE obj) |
X509 * | DupX509CertPtr (VALUE obj) |
void | Init_ossl_x509cert (void) |
Variables | |
VALUE | cX509Cert |
VALUE | eX509CertError |
#define GetX509 | ( | obj, | |
x509 | |||
) |
Definition at line 20 of file ossl_x509cert.c.
Referenced by DupX509CertPtr(), and GetX509CertPtr().
#define NewX509 | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509_type, 0) |
Definition at line 12 of file ossl_x509cert.c.
Referenced by ossl_x509_new().
#define SetX509 | ( | obj, | |
x509 | |||
) |
Definition at line 14 of file ossl_x509cert.c.
Referenced by ossl_x509_new().
X509* DupX509CertPtr | ( | VALUE | obj | ) |
Definition at line 81 of file ossl_x509cert.c.
References GetX509, and X509_up_ref.
X509* GetX509CertPtr | ( | VALUE | obj | ) |
Definition at line 71 of file ossl_x509cert.c.
References GetX509.
void Init_ossl_x509cert | ( | void | ) |
Definition at line 690 of file ossl_x509cert.c.
References cX509Cert, eOSSLError, eX509CertError, 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_x509_new | ( | X509 * | x509 | ) |
Definition at line 51 of file ossl_x509cert.c.
References cX509Cert, eX509CertError, NewX509, NULL, ossl_raise(), and SetX509.
VALUE cX509Cert |
Definition at line 30 of file ossl_x509cert.c.
Referenced by Init_ossl_x509cert(), and ossl_x509_new().
VALUE eX509CertError |
Definition at line 31 of file ossl_x509cert.c.
Referenced by Init_ossl_x509cert(), and ossl_x509_new().