Ruby
2.7.0p0(2019-12-25revision647ee6f091eafcce70ffb75ddf7e121e192ab217)
|
Go to the source code of this file.
Functions | |
VALUE | asn1time_to_time (const ASN1_TIME *) |
void | ossl_time_split (VALUE, time_t *, int *) |
VALUE | asn1str_to_str (const ASN1_STRING *) |
VALUE | asn1integer_to_num (const ASN1_INTEGER *) |
ASN1_INTEGER * | num_to_asn1integer (VALUE, ASN1_INTEGER *) |
ASN1_TYPE * | ossl_asn1_get_asn1type (VALUE) |
void | Init_ossl_asn1 (void) |
Definition at line 101 of file ossl_asn1.c.
References eOSSLError, NULL, ossl_bn_new(), ossl_raise(), and rb_eTypeError.
Definition at line 92 of file ossl_asn1.c.
References rb_str_new, and str.
Definition at line 20 of file ossl_asn1.c.
References argv, count, INT2NUM, memset(), ossl_raise(), Qnil, rb_cTime, rb_eTypeError, rb_funcall2, rb_intern, rb_warning(), sscanf(), time(), tm::tm_hour, tm::tm_mday, tm::tm_min, tm::tm_mon, tm::tm_sec, and tm::tm_year.
Definition at line 1361 of file ossl_asn1.c.
References eOSSLError, i, mOSSL, rb_define_class_under(), rb_define_module(), and rb_eStandardError.
ASN1_INTEGER* num_to_asn1integer | ( | VALUE | , |
ASN1_INTEGER * | |||
) |
Definition at line 124 of file ossl_asn1.c.
References eOSSLError, GetBNPtr, NIL_P, NULL, obj, ossl_raise(), and rb_eTypeError.
ASN1_TYPE* ossl_asn1_get_asn1type | ( | VALUE | ) |
Definition at line 495 of file ossl_asn1.c.
Definition at line 73 of file ossl_asn1.c.
References FIX2LONG, FIXNUM_P, INT2FIX, NUM2INT, NUM2TIMET, rb_funcall, rb_Integer(), rb_intern, rb_long2int, and time().
Referenced by ossl_x509_time_adjust().
VALUE cASN1BitString |
Definition at line 165 of file ossl_asn1.c.
VALUE cASN1BMPString |
Definition at line 52 of file ossl_asn1.h.
VALUE cASN1Boolean |
Definition at line 163 of file ossl_asn1.c.
VALUE cASN1Constructive |
Definition at line 160 of file ossl_asn1.c.
VALUE cASN1Data |
Definition at line 158 of file ossl_asn1.c.
VALUE cASN1Enumerated |
Definition at line 45 of file ossl_asn1.h.
VALUE cASN1GeneralizedTime |
Definition at line 55 of file ossl_asn1.h.
VALUE cASN1GeneralString |
Definition at line 51 of file ossl_asn1.h.
VALUE cASN1GraphicString |
Definition at line 50 of file ossl_asn1.h.
VALUE cASN1IA5String |
Definition at line 169 of file ossl_asn1.c.
VALUE cASN1Integer |
Definition at line 164 of file ossl_asn1.c.
VALUE cASN1ISO64String |
Definition at line 170 of file ossl_asn1.c.
VALUE cASN1Null |
Definition at line 172 of file ossl_asn1.c.
VALUE cASN1NumericString |
Definition at line 167 of file ossl_asn1.c.
VALUE cASN1ObjectId |
Definition at line 173 of file ossl_asn1.c.
VALUE cASN1OctetString |
Definition at line 166 of file ossl_asn1.c.
VALUE cASN1Primitive |
Definition at line 159 of file ossl_asn1.c.
VALUE cASN1PrintableString |
Definition at line 48 of file ossl_asn1.h.
VALUE cASN1Sequence |
Definition at line 175 of file ossl_asn1.c.
VALUE cASN1Set |
Definition at line 56 of file ossl_asn1.h.
VALUE cASN1T61String |
Definition at line 168 of file ossl_asn1.c.
VALUE cASN1UniversalString |
Definition at line 171 of file ossl_asn1.c.
VALUE cASN1UTCTime |
Definition at line 174 of file ossl_asn1.c.
VALUE cASN1UTF8String |
Definition at line 47 of file ossl_asn1.h.
VALUE cASN1VideotexString |
Definition at line 49 of file ossl_asn1.h.
VALUE eASN1Error |
Definition at line 156 of file ossl_asn1.c.
VALUE mASN1 |
Definition at line 155 of file ossl_asn1.c.