Ruby 2.0.0p353(2013-11-22revision43784)

- Main Page
- Modules
- Data Structures
- Files

- File List
- Globals

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_ */
Init_ossl_x509ext
void Init_ossl_x509ext(void)
Definition: ossl_x509ext.c:439
ossl_x509crl_new
VALUE ossl_x509crl_new(X509_CRL *)
Definition: ossl_x509crl.c:61
Init_ossl_x509revoked
void Init_ossl_x509revoked(void)
Definition: ossl_x509revoked.c:212
cX509ExtFactory
VALUE cX509ExtFactory
Definition: ossl_x509ext.c:46
eX509ReqError
VALUE eX509ReqError
Definition: ossl_x509req.c:34
eX509CRLError
VALUE eX509CRLError
Definition: ossl_x509crl.c:34
cX509CRL
VALUE cX509CRL
Definition: ossl_x509crl.c:33
eX509NameError
VALUE eX509NameError
Definition: ossl_x509name.c:39
GetX509StCtxtPtr
X509_STORE_CTX * GetX509StCtxtPtr(VALUE)
cX509Ext
VALUE cX509Ext
Definition: ossl_x509ext.c:45
DupX509ExtPtr
X509_EXTENSION * DupX509ExtPtr(VALUE)
Definition: ossl_x509ext.c:82
eX509StoreError
VALUE eX509StoreError
Definition: ossl_x509store.c:52
GetX509NamePtr
X509_NAME * GetX509NamePtr(VALUE)
Definition: ossl_x509name.c:64
ossl_x509_new_from_file
VALUE ossl_x509_new_from_file(VALUE)
Definition: ossl_x509cert.c:59
DupX509RevokedPtr
X509_REVOKED * DupX509RevokedPtr(VALUE)
Definition: ossl_x509revoked.c:59
ossl_x509store_new
VALUE ossl_x509store_new(X509_STORE *)
Definition: ossl_x509store.c:58
cX509Rev
VALUE cX509Rev
Definition: ossl_x509revoked.c:33
Init_ossl_x509req
void Init_ossl_x509req(void)
Definition: ossl_x509req.c:441
GetX509CertPtr
X509 * GetX509CertPtr(VALUE)
Definition: ossl_x509cert.c:92
ossl_x509stctx_clear_ptr
VALUE ossl_x509stctx_clear_ptr(VALUE)
Definition: ossl_x509store.c:358
DupX509AttrPtr
X509_ATTRIBUTE * DupX509AttrPtr(VALUE)
Definition: ossl_x509attr.c:59
cX509Cert
VALUE cX509Cert
Definition: ossl_x509cert.c:33
eX509CertError
VALUE eX509CertError
Definition: ossl_x509cert.c:34
eX509ExtError
VALUE eX509ExtError
Definition: ossl_x509ext.c:47
Init_ossl_x509name
void Init_ossl_x509name(void)
Definition: ossl_x509name.c:428
ossl_x509stctx_new
VALUE ossl_x509stctx_new(X509_STORE_CTX *)
Definition: ossl_x509store.c:348
DupX509ReqPtr
X509_REQ * DupX509ReqPtr(VALUE)
Definition: ossl_x509req.c:69
cX509Store
VALUE cX509Store
Definition: ossl_x509store.c:50
ossl_x509_new
VALUE ossl_x509_new(X509 *)
Definition: ossl_x509cert.c:40
ossl_x509ext_new
VALUE ossl_x509ext_new(X509_EXTENSION *)
Definition: ossl_x509ext.c:53
DupX509CRLPtr
X509_CRL * DupX509CRLPtr(VALUE)
Definition: ossl_x509crl.c:50
eX509AttrError
VALUE eX509AttrError
Definition: ossl_x509attr.c:34
cX509StoreContext
VALUE cX509StoreContext
Definition: ossl_x509store.c:51
cX509Req
VALUE cX509Req
Definition: ossl_x509req.c:33
ossl_x509req_new
VALUE ossl_x509req_new(X509_REQ *)
Definition: ossl_x509req.c:40
mX509
VALUE mX509
Definition: ossl_x509.c:13
ossl_x509revoked_new
VALUE ossl_x509revoked_new(X509_REVOKED *)
Definition: ossl_x509revoked.c:40
GetX509StorePtr
X509_STORE * GetX509StorePtr(VALUE)
Definition: ossl_x509store.c:68
GetX509ExtPtr
X509_EXTENSION * GetX509ExtPtr(VALUE)
Definition: ossl_x509ext.c:72
Init_ossl_x509crl
void Init_ossl_x509crl(void)
Definition: ossl_x509crl.c:505
ossl_x509attr_new
VALUE ossl_x509attr_new(X509_ATTRIBUTE *)
Definition: ossl_x509attr.c:40
Init_ossl_x509attr
void Init_ossl_x509attr(void)
Definition: ossl_x509attr.c:263
eX509RevError
VALUE eX509RevError
Definition: ossl_x509revoked.c:34
DupX509CertPtr
X509 * DupX509CertPtr(VALUE)
Definition: ossl_x509cert.c:102
Init_ossl_x509store
void Init_ossl_x509store(void)
Definition: ossl_x509store.c:596
VALUE
unsigned long VALUE
Definition: ripper.y:104
ossl_x509name_new
VALUE ossl_x509name_new(X509_NAME *)
Definition: ossl_x509name.c:45
DupX509StorePtr
X509_STORE * DupX509StorePtr(VALUE)
Definition: ossl_x509store.c:78
cX509Name
VALUE cX509Name
Definition: ossl_x509name.c:38
GetX509CRLPtr
X509_CRL * GetX509CRLPtr(VALUE)
Definition: ossl_x509crl.c:40
Init_ossl_x509
void Init_ossl_x509()
Definition: ossl_x509.c:20
Init_ossl_x509cert
void Init_ossl_x509cert(void)
Definition: ossl_x509cert.c:731
GetX509ReqPtr
X509_REQ * GetX509ReqPtr(VALUE)
Definition: ossl_x509req.c:59
cX509Attr
VALUE cX509Attr
Definition: ossl_x509attr.c:33