Ruby  2.4.2p198(2017-09-14revision59899)
Functions | Variables
ossl_asn1.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

VALUE asn1time_to_time (const ASN1_TIME *)
 
time_t time_to_time_t (VALUE)
 
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)
 

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 ( const ASN1_INTEGER *  )

◆ asn1str_to_str()

VALUE asn1str_to_str ( const ASN1_STRING *  )

Definition at line 103 of file ossl_asn1.c.

References rb_str_new().

Referenced by ossl_pkcs7ri_get_enc_key(), and ossl_x509name_to_a().

◆ asn1time_to_time()

VALUE asn1time_to_time ( const ASN1_TIME *  )

◆ Init_ossl_asn1()

void Init_ossl_asn1 ( void  )

Definition at line 1413 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, ID2SYM, id_each, INT2NUM, mASN1, 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_eStandardError, rb_global_variable(), rb_hash_aset(), rb_hash_new(), rb_include_module(), rb_intern, rb_intern_const, rb_mEnumerable, rb_str_new2, rb_undef_method(), sivINFINITE_LENGTH, sivTAG, sivTAG_CLASS, sivTAGGING, sivUNUSED_BITS, sivVALUE, sym_APPLICATION, sym_CONTEXT_SPECIFIC, sym_EXPLICIT, sym_IMPLICIT, sym_PRIVATE, and sym_UNIVERSAL.

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  )

Definition at line 93 of file ossl_asn1.c.

References rb_Integer().

Referenced by obj_to_asn1gtime(), obj_to_asn1utime(), and ossl_x509_time_adjust().

Variable Documentation

◆ cASN1BitString

VALUE cASN1BitString

Definition at line 176 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1BMPString

VALUE cASN1BMPString

Definition at line 182 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Boolean

VALUE cASN1Boolean

Definition at line 174 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Constructive

VALUE cASN1Constructive

Definition at line 171 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 175 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1GeneralizedTime

VALUE cASN1GeneralizedTime

Definition at line 185 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1GeneralString

VALUE cASN1GeneralString

Definition at line 181 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1GraphicString

VALUE cASN1GraphicString

Definition at line 180 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1IA5String

VALUE cASN1IA5String

Definition at line 180 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Integer

VALUE cASN1Integer

Definition at line 175 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1ISO64String

VALUE cASN1ISO64String

Definition at line 181 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Null

VALUE cASN1Null

Definition at line 183 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1NumericString

VALUE cASN1NumericString

Definition at line 178 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1ObjectId

VALUE cASN1ObjectId

Definition at line 184 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1OctetString

VALUE cASN1OctetString

Definition at line 177 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Primitive

VALUE cASN1Primitive

Definition at line 170 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_asn1cons_to_der().

◆ cASN1PrintableString

VALUE cASN1PrintableString

Definition at line 178 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1Sequence

VALUE cASN1Sequence

Definition at line 186 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_asn1cons_to_der().

◆ cASN1Set

VALUE cASN1Set

Definition at line 186 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_asn1cons_to_der().

◆ cASN1T61String

VALUE cASN1T61String

Definition at line 179 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1UniversalString

VALUE cASN1UniversalString

Definition at line 182 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1UTCTime

VALUE cASN1UTCTime

Definition at line 185 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1UTF8String

VALUE cASN1UTF8String

Definition at line 177 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ cASN1VideotexString

VALUE cASN1VideotexString

Definition at line 179 of file ossl_asn1.c.

Referenced by Init_ossl_asn1().

◆ eASN1Error

VALUE eASN1Error

◆ mASN1

VALUE mASN1

Definition at line 166 of file ossl_asn1.c.

Referenced by Init_ossl_asn1(), and ossl_x509attr_get_value().