Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509CRL(klass) TypedData_Wrap_Struct((klass), &ossl_x509crl_type, 0) |
#define | SetX509CRL(obj, crl) |
#define | GetX509CRL(obj, crl) |
#define | SafeGetX509CRL(obj, crl) |
Variables | |
VALUE | cX509CRL |
VALUE | eX509CRLError |
static const rb_data_type_t | ossl_x509crl_type |
#define GetX509CRL | ( | obj, | |
crl | |||
) |
Definition at line 20 of file ossl_x509crl.c.
Referenced by ossl_x509crl_add_extension(), ossl_x509crl_add_revoked(), ossl_x509crl_copy(), ossl_x509crl_get_extensions(), ossl_x509crl_get_issuer(), ossl_x509crl_get_last_update(), ossl_x509crl_get_next_update(), ossl_x509crl_get_revoked(), ossl_x509crl_get_signature_algorithm(), ossl_x509crl_get_version(), ossl_x509crl_set_extensions(), ossl_x509crl_set_issuer(), ossl_x509crl_set_last_update(), ossl_x509crl_set_next_update(), ossl_x509crl_set_revoked(), ossl_x509crl_set_version(), ossl_x509crl_sign(), ossl_x509crl_to_der(), ossl_x509crl_to_pem(), ossl_x509crl_to_text(), and ossl_x509crl_verify().
#define NewX509CRL | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509crl_type, 0) |
Definition at line 12 of file ossl_x509crl.c.
Referenced by ossl_x509crl_alloc(), and ossl_x509crl_new().
#define SafeGetX509CRL | ( | obj, | |
crl | |||
) |
Definition at line 26 of file ossl_x509crl.c.
Referenced by DupX509CRLPtr(), GetX509CRLPtr(), and ossl_x509crl_copy().
#define SetX509CRL | ( | obj, | |
crl | |||
) |
Definition at line 14 of file ossl_x509crl.c.
Referenced by ossl_x509crl_alloc(), and ossl_x509crl_new().
X509_CRL* DupX509CRLPtr | ( | VALUE | obj | ) |
Definition at line 65 of file ossl_x509crl.c.
References SafeGetX509CRL, and X509_CRL_up_ref.
X509_CRL* GetX509CRLPtr | ( | VALUE | obj | ) |
Definition at line 55 of file ossl_x509crl.c.
References SafeGetX509CRL.
Referenced by ossl_pkcs7_add_crl(), ossl_x509extfactory_set_crl(), and ossl_x509store_add_crl().
void Init_ossl_x509crl | ( | void | ) |
Definition at line 509 of file ossl_x509crl.c.
References cX509CRL, eOSSLError, eX509CRLError, mOSSL, mX509, ossl_x509crl_add_extension(), ossl_x509crl_add_revoked(), ossl_x509crl_alloc(), ossl_x509crl_copy(), ossl_x509crl_get_extensions(), ossl_x509crl_get_issuer(), ossl_x509crl_get_last_update(), ossl_x509crl_get_next_update(), ossl_x509crl_get_revoked(), ossl_x509crl_get_signature_algorithm(), ossl_x509crl_get_version(), ossl_x509crl_initialize(), ossl_x509crl_set_extensions(), ossl_x509crl_set_issuer(), ossl_x509crl_set_last_update(), ossl_x509crl_set_next_update(), ossl_x509crl_set_revoked(), ossl_x509crl_set_version(), ossl_x509crl_sign(), ossl_x509crl_to_der(), ossl_x509crl_to_pem(), ossl_x509crl_to_text(), ossl_x509crl_verify(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class_under(), rb_define_copy_func, rb_define_method(), rb_define_module(), rb_define_module_under(), and rb_eStandardError.
Referenced by Init_ossl_x509().
Definition at line 491 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, GetX509ExtPtr(), NULL, and ossl_raise().
Referenced by Init_ossl_x509crl().
Definition at line 332 of file ossl_x509crl.c.
References DupX509RevokedPtr(), eX509CRLError, GetX509CRL, and ossl_raise().
Referenced by Init_ossl_x509crl().
Definition at line 93 of file ossl_x509crl.c.
References eX509CRLError, NewX509CRL, NULL, ossl_raise(), and SetX509CRL.
Referenced by Init_ossl_x509crl().
Definition at line 133 of file ossl_x509crl.c.
References DATA_PTR, eX509CRLError, GetX509CRL, NULL, ossl_raise(), rb_check_frozen, and SafeGetX509CRL.
Referenced by Init_ossl_x509crl().
|
static |
Definition at line 38 of file ossl_x509crl.c.
Definition at line 440 of file ossl_x509crl.c.
References count, GetX509CRL, OSSL_Debug, ossl_x509ext_new(), rb_ary_new(), rb_ary_new2, and rb_ary_push().
Referenced by Init_ossl_x509crl().
Definition at line 200 of file ossl_x509crl.c.
References GetX509CRL, and ossl_x509name_new().
Referenced by Init_ossl_x509crl().
Definition at line 223 of file ossl_x509crl.c.
References asn1time_to_time(), GetX509CRL, and X509_CRL_get0_lastUpdate.
Referenced by Init_ossl_x509crl().
Definition at line 250 of file ossl_x509crl.c.
References asn1time_to_time(), GetX509CRL, and X509_CRL_get0_nextUpdate.
Referenced by Init_ossl_x509crl().
Definition at line 277 of file ossl_x509crl.c.
References GetX509CRL, OSSL_Debug, ossl_x509revoked_new(), rb_ary_new(), rb_ary_new2, and rb_ary_push().
Referenced by Init_ossl_x509crl().
Definition at line 180 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, NULL, ossl_membio2str(), ossl_raise(), and X509_CRL_get0_signature.
Referenced by Init_ossl_x509crl().
Definition at line 151 of file ossl_x509crl.c.
References GetX509CRL, and LONG2NUM.
Referenced by Init_ossl_x509crl().
Definition at line 108 of file ossl_x509crl.c.
References DATA_PTR, eX509CRLError, NULL, OSSL_BIO_reset, ossl_obj2bio(), ossl_raise(), ossl_to_der_if_possible(), and rb_scan_args().
Referenced by Init_ossl_x509crl().
VALUE ossl_x509crl_new | ( | X509_CRL * | crl | ) |
Definition at line 76 of file ossl_x509crl.c.
References cX509CRL, eX509CRLError, NewX509CRL, NULL, ossl_raise(), and SetX509CRL.
Referenced by ossl_x509stctx_get_curr_crl().
Definition at line 466 of file ossl_x509crl.c.
References Check_Type, cX509Ext, eX509CRLError, GetX509CRL, GetX509ExtPtr(), NULL, OSSL_Check_Kind, ossl_raise(), RARRAY_AREF, RARRAY_LEN, and T_ARRAY.
Referenced by Init_ossl_x509crl().
Definition at line 210 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, GetX509NamePtr(), NULL, and ossl_raise().
Referenced by Init_ossl_x509crl().
Definition at line 233 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, NULL, ossl_raise(), and ossl_x509_time_adjust().
Referenced by Init_ossl_x509crl().
Definition at line 260 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, NULL, ossl_raise(), and ossl_x509_time_adjust().
Referenced by Init_ossl_x509crl().
Definition at line 302 of file ossl_x509crl.c.
References Check_Type, cX509Rev, DupX509RevokedPtr(), eX509CRLError, GetX509CRL, OSSL_Check_Kind, ossl_raise(), RARRAY_AREF, RARRAY_LEN, STACK_OF(), and T_ARRAY.
Referenced by Init_ossl_x509crl().
Definition at line 163 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, NULL, NUM2LONG, ossl_raise(), and version.
Referenced by Init_ossl_x509crl().
Definition at line 349 of file ossl_x509crl.c.
References eX509CRLError, GetDigestPtr(), GetPrivPKeyPtr(), GetX509CRL, NULL, and ossl_raise().
Referenced by Init_ossl_x509crl().
Definition at line 383 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, NULL, ossl_membio2str(), and ossl_raise().
Referenced by Init_ossl_x509crl().
Definition at line 401 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, NULL, ossl_membio2str(), and ossl_raise().
Referenced by Init_ossl_x509crl().
Definition at line 419 of file ossl_x509crl.c.
References eX509CRLError, GetX509CRL, NULL, ossl_membio2str(), and ossl_raise().
Referenced by Init_ossl_x509crl().
Definition at line 366 of file ossl_x509crl.c.
References eX509CRLError, GetPKeyPtr(), GetX509CRL, NULL, ossl_clear_error(), ossl_raise(), Qfalse, and Qtrue.
Referenced by Init_ossl_x509crl().
VALUE cX509CRL |
Definition at line 34 of file ossl_x509crl.c.
Referenced by Init_ossl_x509crl(), and ossl_x509crl_new().
VALUE eX509CRLError |
Definition at line 35 of file ossl_x509crl.c.
Referenced by Init_ossl_x509crl(), ossl_x509crl_add_extension(), ossl_x509crl_add_revoked(), ossl_x509crl_alloc(), ossl_x509crl_copy(), ossl_x509crl_get_signature_algorithm(), ossl_x509crl_initialize(), ossl_x509crl_new(), ossl_x509crl_set_extensions(), ossl_x509crl_set_issuer(), ossl_x509crl_set_last_update(), ossl_x509crl_set_next_update(), ossl_x509crl_set_revoked(), ossl_x509crl_set_version(), ossl_x509crl_sign(), ossl_x509crl_to_der(), ossl_x509crl_to_pem(), ossl_x509crl_to_text(), and ossl_x509crl_verify().
|
static |
Definition at line 43 of file ossl_x509crl.c.