PolarSSL v1.3.8
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 #if !defined(POLARSSL_CONFIG_FILE)
31 #include "config.h"
32 #else
33 #include POLARSSL_CONFIG_FILE
34 #endif
35 
36 #include "x509.h"
37 
38 #ifdef __cplusplus
39 extern "C" {
40 #endif
41 
55 typedef struct _x509_crl_entry
56 {
58 
60 
62 
64 
66 }
68 
73 typedef struct _x509_crl
74 {
78  int version;
80 
87 
91 
96  void *sig_opts;
98  struct _x509_crl *next;
99 }
100 x509_crl;
101 
112 int x509_crl_parse( x509_crl *chain, const unsigned char *buf, size_t buflen );
113 
114 #if defined(POLARSSL_FS_IO)
115 
124 int x509_crl_parse_file( x509_crl *chain, const char *path );
125 #endif /* POLARSSL_FS_IO */
126 
138 int x509_crl_info( char *buf, size_t size, const char *prefix,
139  const x509_crl *crl );
140 
146 void x509_crl_init( x509_crl *crl );
147 
153 void x509_crl_free( x509_crl *crl );
154 
155 /* \} name */
156 /* \} addtogroup x509_module */
157 
158 #ifdef __cplusplus
159 }
160 #endif
161 
162 #endif /* x509_crl.h */