PolarSSL v1.3.1
Main Page
Modules
Data Structures
Files
File List
Globals
include
polarssl
x509_crl.h
Go to the documentation of this file.
1
27
#ifndef POLARSSL_X509_CRL_H
28
#define POLARSSL_X509_CRL_H
29
30
#include "
config.h
"
31
32
#include "
x509.h
"
33
34
#ifdef __cplusplus
35
extern
"C"
{
36
#endif
37
51
typedef
struct
_x509_crl_entry
52
{
53
x509_buf
raw
;
54
55
x509_buf
serial
;
56
57
x509_time
revocation_date
;
58
59
x509_buf
entry_ext
;
60
61
struct
_x509_crl_entry
*
next
;
62
}
63
x509_crl_entry
;
64
69
typedef
struct
_x509_crl
70
{
71
x509_buf
raw
;
72
x509_buf
tbs
;
74
int
version
;
75
x509_buf
sig_oid1
;
76
77
x509_buf
issuer_raw
;
79
x509_name
issuer
;
81
x509_time
this_update
;
82
x509_time
next_update
;
83
84
x509_crl_entry
entry
;
86
x509_buf
crl_ext
;
87
88
x509_buf
sig_oid2
;
89
x509_buf
sig
;
90
md_type_t
sig_md
;
91
pk_type_t
sig_pk
;
92
93
struct
_x509_crl
*
next
;
94
}
95
x509_crl
;
96
107
int
x509_crl_parse
(
x509_crl
*chain,
const
unsigned
char
*buf,
size_t
buflen );
108
109
#if defined(POLARSSL_FS_IO)
110
119
int
x509_crl_parse_file
(
x509_crl
*chain,
const
char
*path );
120
#endif
/* POLARSSL_FS_IO */
121
133
int
x509_crl_info
(
char
*buf,
size_t
size,
const
char
*prefix,
134
const
x509_crl
*crl );
135
141
void
x509_crl_init
(
x509_crl
*crl );
142
148
void
x509_crl_free
(
x509_crl
*crl );
149
150
/* \} name */
151
/* \} addtogroup x509_module */
152
153
#ifdef __cplusplus
154
}
155
#endif
156
157
#endif
/* x509_crl.h */
Generated on Fri Nov 22 2013 08:28:28 for PolarSSL v1.3.1 by
1.8.3