aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan/plugins/x509/x509_crl.h
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2010-05-21 15:52:20 +0200
committerMartin Willi <martin@revosec.ch>2010-05-21 16:25:51 +0200
commit13c593f126eea2b64cedd8764652d23b77c97f62 (patch)
tree826a5ef5ec3301d27eea7f082b55463d1a84e342 /src/libstrongswan/plugins/x509/x509_crl.h
parentaab861608a06353fe297da66f49957ce12529bc1 (diff)
downloadstrongswan-13c593f126eea2b64cedd8764652d23b77c97f62.tar.bz2
strongswan-13c593f126eea2b64cedd8764652d23b77c97f62.tar.xz
Added support for CRL generation to x509 plugin
Diffstat (limited to 'src/libstrongswan/plugins/x509/x509_crl.h')
-rw-r--r--src/libstrongswan/plugins/x509/x509_crl.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/libstrongswan/plugins/x509/x509_crl.h b/src/libstrongswan/plugins/x509/x509_crl.h
index 890650162..e8fe74e81 100644
--- a/src/libstrongswan/plugins/x509/x509_crl.h
+++ b/src/libstrongswan/plugins/x509/x509_crl.h
@@ -46,4 +46,13 @@ struct x509_crl_t {
*/
x509_crl_t *x509_crl_load(certificate_type_t type, va_list args);
+/**
+ * Generate a X.509 CRL.
+ *
+ * @param type certificate type, CERT_X509_CRL only
+ * @param args builder_part_t argument list
+ * @return X.509 CRL, NULL on failure
+ */
+x509_crl_t *x509_crl_gen(certificate_type_t type, va_list args);
+
#endif /** X509_CRL_H_ @}*/