Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

ossl_asn1.h
Go to the documentation of this file.
1 /*
2 * $Id: ossl_asn1.h 27437 2010-04-22 08:04:13Z nobu $
3 * 'OpenSSL for Ruby' team members
4 * Copyright (C) 2003
5 * All rights reserved.
6 */
7 /*
8 * This program is licenced under the same licence as Ruby.
9 * (See the file 'LICENCE'.)
10 */
11 #if !defined(_OSSL_ASN1_H_)
12 #define _OSSL_ASN1_H_
13
14 /*
15 * ASN1_DATE conversions
16 */
17 VALUE asn1time_to_time(ASN1_TIME *);
18 time_t time_to_time_t(VALUE);
19
20 /*
21 * ASN1_STRING conversions
22 */
23 VALUE asn1str_to_str(ASN1_STRING *);
24
25 /*
26 * ASN1_INTEGER conversions
27 */
28 VALUE asn1integer_to_num(ASN1_INTEGER *);
29 ASN1_INTEGER *num_to_asn1integer(VALUE, ASN1_INTEGER *);
30
31 /*
32 * ASN1 module
33 */
34 extern VALUE mASN1;
35 extern VALUE eASN1Error;
36
37 extern VALUE cASN1Data;
38 extern VALUE cASN1Primitive;
39 extern VALUE cASN1Constructive;
40
41 extern VALUE cASN1Boolean; /* BOOLEAN */
42 extern VALUE cASN1Integer, cASN1Enumerated; /* INTEGER */
43 extern VALUE cASN1BitString; /* BIT STRING */
44 extern VALUE cASN1OctetString, cASN1UTF8String; /* STRINGs */
45 extern VALUE cASN1NumericString, cASN1PrintableString;
46 extern VALUE cASN1T61String, cASN1VideotexString;
47 extern VALUE cASN1IA5String, cASN1GraphicString;
48 extern VALUE cASN1ISO64String, cASN1GeneralString;
49 extern VALUE cASN1UniversalString, cASN1BMPString;
50 extern VALUE cASN1Null; /* NULL */
51 extern VALUE cASN1ObjectId; /* OBJECT IDENTIFIER */
52 extern VALUE cASN1UTCTime, cASN1GeneralizedTime; /* TIME */
53 extern VALUE cASN1Sequence, cASN1Set; /* CONSTRUCTIVE */
54
55 ASN1_TYPE *ossl_asn1_get_asn1type(VALUE);
56
57 void Init_ossl_asn1(void);
58
59 #endif
cASN1Data
VALUE cASN1Data
Definition: ossl_asn1.c:192
cASN1ISO64String
VALUE cASN1ISO64String
Definition: ossl_asn1.c:204
cASN1IA5String
VALUE cASN1IA5String
Definition: ossl_asn1.c:203
cASN1Constructive
VALUE cASN1Constructive
Definition: ossl_asn1.c:194
cASN1PrintableString
VALUE cASN1PrintableString
Definition: ossl_asn1.c:201
mASN1
VALUE mASN1
Definition: ossl_asn1.c:189
asn1str_to_str
VALUE asn1str_to_str(ASN1_STRING *str)
Definition: ossl_asn1.c:94
cASN1BMPString
VALUE cASN1BMPString
Definition: ossl_asn1.c:205
asn1time_to_time
VALUE asn1time_to_time(ASN1_TIME *time)
Definition: ossl_asn1.c:32
cASN1Null
VALUE cASN1Null
Definition: ossl_asn1.c:206
cASN1OctetString
VALUE cASN1OctetString
Definition: ossl_asn1.c:200
time_to_time_t
time_t time_to_time_t(VALUE time)
Definition: ossl_asn1.c:85
cASN1BitString
VALUE cASN1BitString
Definition: ossl_asn1.c:199
cASN1UniversalString
VALUE cASN1UniversalString
Definition: ossl_asn1.c:205
Init_ossl_asn1
void Init_ossl_asn1()
Definition: ossl_asn1.c:1444
cASN1Boolean
VALUE cASN1Boolean
Definition: ossl_asn1.c:197
cASN1ObjectId
VALUE cASN1ObjectId
Definition: ossl_asn1.c:207
ossl_asn1_get_asn1type
ASN1_TYPE * ossl_asn1_get_asn1type(VALUE obj)
Definition: ossl_asn1.c:539
cASN1Set
VALUE cASN1Set
Definition: ossl_asn1.c:209
cASN1UTF8String
VALUE cASN1UTF8String
Definition: ossl_asn1.c:200
cASN1GraphicString
VALUE cASN1GraphicString
Definition: ossl_asn1.c:203
cASN1Integer
VALUE cASN1Integer
Definition: ossl_asn1.c:198
cASN1Primitive
VALUE cASN1Primitive
Definition: ossl_asn1.c:193
cASN1T61String
VALUE cASN1T61String
Definition: ossl_asn1.c:202
cASN1UTCTime
VALUE cASN1UTCTime
Definition: ossl_asn1.c:208
cASN1Sequence
VALUE cASN1Sequence
Definition: ossl_asn1.c:209
cASN1Enumerated
VALUE cASN1Enumerated
Definition: ossl_asn1.c:198
cASN1NumericString
VALUE cASN1NumericString
Definition: ossl_asn1.c:201
cASN1VideotexString
VALUE cASN1VideotexString
Definition: ossl_asn1.c:202
VALUE
unsigned long VALUE
Definition: ripper.y:104
asn1integer_to_num
VALUE asn1integer_to_num(ASN1_INTEGER *ai)
Definition: ossl_asn1.c:105
cASN1GeneralString
VALUE cASN1GeneralString
Definition: ossl_asn1.c:204
cASN1GeneralizedTime
VALUE cASN1GeneralizedTime
Definition: ossl_asn1.c:208
eASN1Error
VALUE eASN1Error
Definition: ossl_asn1.c:190
num_to_asn1integer
ASN1_INTEGER * num_to_asn1integer(VALUE obj, ASN1_INTEGER *ai)
Definition: ossl_asn1.c:157