Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "ossl.h"
Go to the source code of this file.
Macros | |
#define | NewX509Rev(klass) TypedData_Wrap_Struct((klass), &ossl_x509rev_type, 0) |
#define | SetX509Rev(obj, rev) |
#define | GetX509Rev(obj, rev) |
#define | SafeGetX509Rev(obj, rev) |
Functions | |
static void | ossl_x509rev_free (void *ptr) |
VALUE | ossl_x509revoked_new (X509_REVOKED *rev) |
X509_REVOKED * | DupX509RevokedPtr (VALUE obj) |
static VALUE | ossl_x509revoked_alloc (VALUE klass) |
static VALUE | ossl_x509revoked_initialize (int argc, VALUE *argv, VALUE self) |
static VALUE | ossl_x509revoked_initialize_copy (VALUE self, VALUE other) |
static VALUE | ossl_x509revoked_get_serial (VALUE self) |
static VALUE | ossl_x509revoked_set_serial (VALUE self, VALUE num) |
static VALUE | ossl_x509revoked_get_time (VALUE self) |
static VALUE | ossl_x509revoked_set_time (VALUE self, VALUE time) |
static VALUE | ossl_x509revoked_get_extensions (VALUE self) |
static VALUE | ossl_x509revoked_set_extensions (VALUE self, VALUE ary) |
static VALUE | ossl_x509revoked_add_extension (VALUE self, VALUE ext) |
void | Init_ossl_x509revoked (void) |
Variables | |
VALUE | cX509Rev |
VALUE | eX509RevError |
static const rb_data_type_t | ossl_x509rev_type |
#define GetX509Rev | ( | obj, | |
rev | |||
) |
Definition at line 20 of file ossl_x509revoked.c.
Referenced by ossl_x509revoked_add_extension(), ossl_x509revoked_get_extensions(), ossl_x509revoked_get_serial(), ossl_x509revoked_get_time(), ossl_x509revoked_initialize_copy(), ossl_x509revoked_set_extensions(), ossl_x509revoked_set_serial(), and ossl_x509revoked_set_time().
#define NewX509Rev | ( | klass | ) | TypedData_Wrap_Struct((klass), &ossl_x509rev_type, 0) |
Definition at line 12 of file ossl_x509revoked.c.
Referenced by ossl_x509revoked_alloc(), and ossl_x509revoked_new().
#define SafeGetX509Rev | ( | obj, | |
rev | |||
) |
Definition at line 26 of file ossl_x509revoked.c.
Referenced by DupX509RevokedPtr(), and ossl_x509revoked_initialize_copy().
#define SetX509Rev | ( | obj, | |
rev | |||
) |
Definition at line 14 of file ossl_x509revoked.c.
Referenced by ossl_x509revoked_alloc(), ossl_x509revoked_initialize_copy(), and ossl_x509revoked_new().
X509_REVOKED* DupX509RevokedPtr | ( | VALUE | obj | ) |
Definition at line 75 of file ossl_x509revoked.c.
References eX509RevError, NULL, ossl_raise(), SafeGetX509Rev, and X509_REVOKED_dup.
Referenced by ossl_x509crl_add_revoked(), and ossl_x509crl_set_revoked().
void Init_ossl_x509revoked | ( | void | ) |
Definition at line 256 of file ossl_x509revoked.c.
References cX509Rev, eOSSLError, eX509RevError, mOSSL, mX509, ossl_x509revoked_add_extension(), ossl_x509revoked_alloc(), ossl_x509revoked_get_extensions(), ossl_x509revoked_get_serial(), ossl_x509revoked_get_time(), ossl_x509revoked_initialize(), ossl_x509revoked_initialize_copy(), ossl_x509revoked_set_extensions(), ossl_x509revoked_set_serial(), ossl_x509revoked_set_time(), rb_cObject, 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().
|
static |
Definition at line 38 of file ossl_x509revoked.c.
Definition at line 240 of file ossl_x509revoked.c.
References eX509RevError, GetX509ExtPtr(), GetX509Rev, NULL, and ossl_raise().
Referenced by Init_ossl_x509revoked().
Definition at line 91 of file ossl_x509revoked.c.
References eX509RevError, NewX509Rev, NULL, ossl_raise(), and SetX509Rev.
Referenced by Init_ossl_x509revoked().
Definition at line 188 of file ossl_x509revoked.c.
References count, GetX509Rev, OSSL_Debug, ossl_x509ext_new(), rb_ary_new(), rb_ary_new2, and rb_ary_push().
Referenced by Init_ossl_x509revoked().
Definition at line 132 of file ossl_x509revoked.c.
References asn1integer_to_num(), GetX509Rev, and X509_REVOKED_get0_serialNumber.
Referenced by Init_ossl_x509revoked().
Definition at line 159 of file ossl_x509revoked.c.
References asn1time_to_time(), GetX509Rev, and X509_REVOKED_get0_revocationDate.
Referenced by Init_ossl_x509revoked().
Definition at line 106 of file ossl_x509revoked.c.
Referenced by Init_ossl_x509revoked().
Definition at line 113 of file ossl_x509revoked.c.
References eX509RevError, GetX509Rev, ossl_raise(), rb_check_frozen, SafeGetX509Rev, SetX509Rev, and X509_REVOKED_dup.
Referenced by Init_ossl_x509revoked().
VALUE ossl_x509revoked_new | ( | X509_REVOKED * | rev | ) |
Definition at line 55 of file ossl_x509revoked.c.
References cX509Rev, eX509RevError, NewX509Rev, NULL, ossl_raise(), SetX509Rev, and X509_REVOKED_dup.
Referenced by ossl_x509crl_get_revoked().
Definition at line 214 of file ossl_x509revoked.c.
References Check_Type, cX509Ext, eX509RevError, GetX509ExtPtr(), GetX509Rev, NULL, OSSL_Check_Kind, ossl_raise(), RARRAY_AREF, RARRAY_LEN, and T_ARRAY.
Referenced by Init_ossl_x509revoked().
Definition at line 142 of file ossl_x509revoked.c.
References eX509RevError, GetX509Rev, NULL, num_to_asn1integer(), and ossl_raise().
Referenced by Init_ossl_x509revoked().
Definition at line 169 of file ossl_x509revoked.c.
References eX509RevError, GetX509Rev, NULL, ossl_raise(), and ossl_x509_time_adjust().
Referenced by Init_ossl_x509revoked().
VALUE cX509Rev |
Definition at line 34 of file ossl_x509revoked.c.
Referenced by Init_ossl_x509revoked(), ossl_x509crl_set_revoked(), and ossl_x509revoked_new().
VALUE eX509RevError |
Definition at line 35 of file ossl_x509revoked.c.
Referenced by DupX509RevokedPtr(), Init_ossl_x509revoked(), ossl_x509revoked_add_extension(), ossl_x509revoked_alloc(), ossl_x509revoked_initialize_copy(), ossl_x509revoked_new(), ossl_x509revoked_set_extensions(), ossl_x509revoked_set_serial(), and ossl_x509revoked_set_time().
|
static |
Definition at line 43 of file ossl_x509revoked.c.