Ruby
1.9.3p448(2013-06-27revision41675)
Main Page
Modules
Data Structures
Files
File List
Globals
ext
openssl
ossl_x509.h
Go to the documentation of this file.
1
/*
2
* $Id: ossl_x509.h 25189 2009-10-02 12:04:37Z akr $
3
* 'OpenSSL for Ruby' project
4
* Copyright (C) 2001-2002 Michal Rokos <m.rokos@sh.cvut.cz>
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_X509_H_)
12
#define _OSSL_X509_H_
13
14
/*
15
* X509 main module
16
*/
17
extern
VALUE
mX509
;
18
19
void
Init_ossl_x509
(
void
);
20
21
/*
22
* X509Attr
23
*/
24
extern
VALUE
cX509Attr
;
25
extern
VALUE
eX509AttrError
;
26
27
VALUE
ossl_x509attr_new
(X509_ATTRIBUTE *);
28
X509_ATTRIBUTE *
DupX509AttrPtr
(
VALUE
);
29
void
Init_ossl_x509attr
(
void
);
30
31
/*
32
* X509Cert
33
*/
34
extern
VALUE
cX509Cert
;
35
extern
VALUE
eX509CertError
;
36
37
VALUE
ossl_x509_new
(X509 *);
38
VALUE
ossl_x509_new_from_file
(
VALUE
);
39
X509 *
GetX509CertPtr
(
VALUE
);
40
X509 *
DupX509CertPtr
(
VALUE
);
41
void
Init_ossl_x509cert
(
void
);
42
43
/*
44
* X509CRL
45
*/
46
extern
VALUE
cX509CRL
;
47
extern
VALUE
eX509CRLError
;
48
49
VALUE
ossl_x509crl_new
(X509_CRL *);
50
X509_CRL *
GetX509CRLPtr
(
VALUE
);
51
X509_CRL *
DupX509CRLPtr
(
VALUE
);
52
void
Init_ossl_x509crl
(
void
);
53
54
/*
55
* X509Extension
56
*/
57
extern
VALUE
cX509Ext
;
58
extern
VALUE
cX509ExtFactory
;
59
extern
VALUE
eX509ExtError
;
60
61
VALUE
ossl_x509ext_new
(X509_EXTENSION *);
62
X509_EXTENSION *
GetX509ExtPtr
(
VALUE
);
63
X509_EXTENSION *
DupX509ExtPtr
(
VALUE
);
64
void
Init_ossl_x509ext
(
void
);
65
66
/*
67
* X509Name
68
*/
69
extern
VALUE
cX509Name
;
70
extern
VALUE
eX509NameError
;
71
72
VALUE
ossl_x509name_new
(X509_NAME *);
73
X509_NAME *
GetX509NamePtr
(
VALUE
);
74
void
Init_ossl_x509name
(
void
);
75
76
/*
77
* X509Request
78
*/
79
extern
VALUE
cX509Req
;
80
extern
VALUE
eX509ReqError
;
81
82
VALUE
ossl_x509req_new
(X509_REQ *);
83
X509_REQ *
GetX509ReqPtr
(
VALUE
);
84
X509_REQ *
DupX509ReqPtr
(
VALUE
);
85
void
Init_ossl_x509req
(
void
);
86
87
/*
88
* X509Revoked
89
*/
90
extern
VALUE
cX509Rev
;
91
extern
VALUE
eX509RevError
;
92
93
VALUE
ossl_x509revoked_new
(X509_REVOKED *);
94
X509_REVOKED *
DupX509RevokedPtr
(
VALUE
);
95
void
Init_ossl_x509revoked
(
void
);
96
97
/*
98
* X509Store and X509StoreContext
99
*/
100
extern
VALUE
cX509Store
;
101
extern
VALUE
cX509StoreContext
;
102
extern
VALUE
eX509StoreError
;
103
104
VALUE
ossl_x509store_new
(X509_STORE *);
105
X509_STORE *
GetX509StorePtr
(
VALUE
);
106
X509_STORE *
DupX509StorePtr
(
VALUE
);
107
108
VALUE
ossl_x509stctx_new
(X509_STORE_CTX *);
109
VALUE
ossl_x509stctx_clear_ptr
(
VALUE
);
110
X509_STORE_CTX *
GetX509StCtxtPtr
(
VALUE
);
111
112
void
Init_ossl_x509store
(
void
);
113
114
#endif
/* _OSSL_X509_H_ */
115
Generated on Fri Jun 28 2013 02:34:36 for Ruby by
1.8.3