|
Ruby
2.0.0p481(2014-05-08revision45883)
|

Go to the source code of this file.
Functions | |
| VALUE | asn1time_to_time (ASN1_TIME *) |
| time_t | time_to_time_t (VALUE) |
| VALUE | asn1str_to_str (ASN1_STRING *) |
| VALUE | asn1integer_to_num (ASN1_INTEGER *) |
| ASN1_INTEGER * | num_to_asn1integer (VALUE, ASN1_INTEGER *) |
| ASN1_TYPE * | ossl_asn1_get_asn1type (VALUE) |
| void | Init_ossl_asn1 (void) |
Variables | |
| VALUE | mASN1 |
| VALUE | eASN1Error |
| VALUE | cASN1Data |
| VALUE | cASN1Primitive |
| VALUE | cASN1Constructive |
| VALUE | cASN1Boolean |
| VALUE | cASN1Integer |
| VALUE | cASN1Enumerated |
| VALUE | cASN1BitString |
| VALUE | cASN1OctetString |
| VALUE | cASN1UTF8String |
| VALUE | cASN1NumericString |
| VALUE | cASN1PrintableString |
| VALUE | cASN1T61String |
| VALUE | cASN1VideotexString |
| VALUE | cASN1IA5String |
| VALUE | cASN1GraphicString |
| VALUE | cASN1ISO64String |
| VALUE | cASN1GeneralString |
| VALUE | cASN1UniversalString |
| VALUE | cASN1BMPString |
| VALUE | cASN1Null |
| VALUE | cASN1ObjectId |
| VALUE | cASN1UTCTime |
| VALUE | cASN1GeneralizedTime |
| VALUE | cASN1Sequence |
| VALUE | cASN1Set |
| VALUE asn1integer_to_num | ( | ASN1_INTEGER * | ) |
Definition at line 105 of file ossl_asn1.c.
References eOSSLError, NULL, ossl_bn_new(), ossl_raise(), Qtrue, rb_cstr_to_inum(), and rb_eTypeError.
Referenced by decode_enum(), decode_int(), ossl_pkcs7ri_get_serial(), ossl_pkcs7si_get_serial(), ossl_x509_get_serial(), and ossl_x509revoked_get_serial().
| VALUE asn1str_to_str | ( | ASN1_STRING * | ) |
Definition at line 94 of file ossl_asn1.c.
References rb_str_new().
Referenced by ossl_pkcs7ri_get_enc_key().
| VALUE asn1time_to_time | ( | ASN1_TIME * | ) |
Definition at line 32 of file ossl_asn1.c.
References argv, count, INT2NUM, ossl_raise(), Qnil, rb_cTime, rb_eTypeError, rb_funcall2(), rb_intern, and rb_warning().
Referenced by decode_time(), ossl_pkcs7si_get_signed_time(), ossl_x509_get_not_after(), ossl_x509_get_not_before(), ossl_x509crl_get_last_update(), ossl_x509crl_get_next_update(), and ossl_x509revoked_get_time().
| void Init_ossl_asn1 | ( | void | ) |
Definition at line 1444 of file ossl_asn1.c.
References eOSSLError, INT2NUM, mOSSL, name, ossl_asn1_decode(), ossl_asn1_decode_all(), OSSL_ASN1_DEFINE_CLASS, ossl_asn1_info_size, ossl_asn1_initialize(), ossl_asn1_traverse(), ossl_asn1cons_each(), ossl_asn1cons_to_der(), ossl_asn1data_initialize(), ossl_asn1data_to_der(), ossl_asn1eoc_initialize(), ossl_asn1obj_get_ln(), ossl_asn1obj_get_oid(), ossl_asn1obj_get_sn(), ossl_asn1obj_s_register(), ossl_asn1prim_to_der(), Qtrue, rb_ary_new(), rb_ary_store(), rb_attr(), rb_cObject, rb_define_alias(), rb_define_class_under(), rb_define_const(), rb_define_method(), rb_define_module(), rb_define_module_function(), rb_define_module_under(), rb_define_singleton_method(), rb_global_variable(), rb_hash_aset(), rb_hash_new(), rb_include_module(), rb_intern, rb_mEnumerable, rb_str_new2(), and rb_undef_method().
Referenced by Init_openssl().
| ASN1_INTEGER* num_to_asn1integer | ( | VALUE | , |
| ASN1_INTEGER * | |||
| ) |
Definition at line 157 of file ossl_asn1.c.
References eOSSLError, GetBNPtr(), NIL_P, NULL, ossl_raise(), and rb_eTypeError.
Referenced by obj_to_asn1int(), ossl_x509_set_serial(), and ossl_x509revoked_set_serial().
| ASN1_TYPE* ossl_asn1_get_asn1type | ( | VALUE | ) |
Definition at line 539 of file ossl_asn1.c.
References NIL_P, NULL, NUM2INT, obj_to_asn1bool(), obj_to_asn1bstr(), obj_to_asn1derstr(), obj_to_asn1gtime(), obj_to_asn1int(), obj_to_asn1null(), obj_to_asn1obj(), obj_to_asn1str(), obj_to_asn1utime(), ossl_asn1_default_tag(), ossl_asn1_get_value, ossl_raise(), and rb_attr_get().
Referenced by ossl_asn1prim_to_der(), and ossl_x509attr_set_value().
| time_t time_to_time_t | ( | VALUE | ) |
Definition at line 85 of file ossl_asn1.c.
References NUM2LONG, and rb_Integer().
Referenced by obj_to_asn1gtime(), obj_to_asn1utime(), ossl_x509_set_not_after(), ossl_x509_set_not_before(), ossl_x509crl_set_last_update(), ossl_x509crl_set_next_update(), and ossl_x509revoked_set_time().
Definition at line 199 of file ossl_asn1.c.
Definition at line 205 of file ossl_asn1.c.
Definition at line 197 of file ossl_asn1.c.
Definition at line 194 of file ossl_asn1.c.
Definition at line 192 of file ossl_asn1.c.
Definition at line 198 of file ossl_asn1.c.
Definition at line 208 of file ossl_asn1.c.
Definition at line 204 of file ossl_asn1.c.
Definition at line 203 of file ossl_asn1.c.
Definition at line 203 of file ossl_asn1.c.
Definition at line 198 of file ossl_asn1.c.
Definition at line 204 of file ossl_asn1.c.
Definition at line 206 of file ossl_asn1.c.
Definition at line 201 of file ossl_asn1.c.
Definition at line 207 of file ossl_asn1.c.
Definition at line 200 of file ossl_asn1.c.
Definition at line 193 of file ossl_asn1.c.
Definition at line 201 of file ossl_asn1.c.
Definition at line 209 of file ossl_asn1.c.
Definition at line 209 of file ossl_asn1.c.
Definition at line 202 of file ossl_asn1.c.
Definition at line 205 of file ossl_asn1.c.
Definition at line 208 of file ossl_asn1.c.
Definition at line 200 of file ossl_asn1.c.
Definition at line 202 of file ossl_asn1.c.
Definition at line 190 of file ossl_asn1.c.
Referenced by ossl_x509attr_set_value().
Definition at line 189 of file ossl_asn1.c.
Referenced by ossl_x509attr_get_value().
1.7.6.1