Ruby  2.0.0p648(2015-12-16revision53162)
Functions | Variables
ossl_asn1.h File Reference

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
 

Function Documentation

◆ asn1integer_to_num()

VALUE asn1integer_to_num ( ASN1_INTEGER *  )

◆ asn1str_to_str()

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().

◆ asn1time_to_time()

VALUE asn1time_to_time ( ASN1_TIME *  )

◆ Init_ossl_asn1()

void Init_ossl_asn1 ( void  )

Definition at line 1444 of file ossl_asn1.c.

References cASN1BitString, cASN1BMPString, cASN1Boolean, cASN1Constructive, cASN1Data, cASN1EndOfContent, cASN1Enumerated, cASN1GeneralizedTime, cASN1GeneralString, cASN1GraphicString, cASN1IA5String, cASN1Integer, cASN1ISO64String, cASN1Null, cASN1NumericString, cASN1ObjectId, cASN1OctetString, cASN1Primitive, cASN1PrintableString, cASN1Sequence, cASN1Set, cASN1T61String, cASN1UniversalString, cASN1UTCTime, cASN1UTF8String, cASN1VideotexString, class_tag_map, eASN1Error, eOSSLError, i, INT2NUM, mASN1, mOSSL, name, ossl_asn1_decode(), ossl_asn1_decode_all(), OSSL_ASN1_DEFINE_CLASS, ossl_asn1_info, 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(), rb_undef_method(), sAPPLICATION, sCONTEXT_SPECIFIC, sEXPLICIT, sIMPLICIT, sivINFINITE_LENGTH, sivTAG, sivTAG_CLASS, sivTAGGING, sivUNUSED_BITS, sivVALUE, sPRIVATE, and sUNIVERSAL.

Referenced by Init_openssl().

◆ num_to_asn1integer()

ASN1_INTEGER* num_to_asn1integer ( VALUE  ,
ASN1_INTEGER *   
)

◆ ossl_asn1_get_asn1type()

ASN1_TYPE* ossl_asn1_get_asn1type ( VALUE  )

◆ time_to_time_t()

time_t time_to_time_t ( VALUE  )

Variable Documentation

◆ cASN1BitString

VALUE cASN1BitString

Definition at line 199 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1BMPString

VALUE cASN1BMPString

Definition at line 205 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Boolean

VALUE cASN1Boolean

Definition at line 197 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Constructive

VALUE cASN1Constructive

Definition at line 194 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), int_ossl_asn1_decode0_cons(), and ossl_asn1cons_to_der().

◆ cASN1Data

VALUE cASN1Data

◆ cASN1Enumerated

VALUE cASN1Enumerated

Definition at line 198 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1GeneralizedTime

VALUE cASN1GeneralizedTime

Definition at line 208 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1GeneralString

VALUE cASN1GeneralString

Definition at line 204 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1GraphicString

VALUE cASN1GraphicString

Definition at line 203 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1IA5String

VALUE cASN1IA5String

Definition at line 203 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Integer

VALUE cASN1Integer

Definition at line 198 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1ISO64String

VALUE cASN1ISO64String

Definition at line 204 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Null

VALUE cASN1Null

Definition at line 206 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1NumericString

VALUE cASN1NumericString

Definition at line 201 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1ObjectId

VALUE cASN1ObjectId

Definition at line 207 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1OctetString

VALUE cASN1OctetString

Definition at line 200 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Primitive

VALUE cASN1Primitive

Definition at line 193 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_asn1cons_to_der().

◆ cASN1PrintableString

VALUE cASN1PrintableString

Definition at line 201 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Sequence

VALUE cASN1Sequence

Definition at line 209 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_asn1cons_to_der().

◆ cASN1Set

VALUE cASN1Set

Definition at line 209 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_asn1cons_to_der().

◆ cASN1T61String

VALUE cASN1T61String

Definition at line 202 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1UniversalString

VALUE cASN1UniversalString

Definition at line 205 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1UTCTime

VALUE cASN1UTCTime

Definition at line 208 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1UTF8String

VALUE cASN1UTF8String

Definition at line 200 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1VideotexString

VALUE cASN1VideotexString

Definition at line 202 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ eASN1Error

VALUE eASN1Error

◆ mASN1

VALUE mASN1

Definition at line 189 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_x509attr_get_value().