Ruby
1.9.3p392(2013-02-22revision39386)
Main Page
Modules
Data Structures
Files
File List
Globals
ext
openssl
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
60
Generated on Tue Feb 26 2013 08:42:57 for Ruby by
1.8.3