summaryrefslogtreecommitdiff
path: root/includes/gnutls
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-26 14:18:26 +0000
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2003-12-26 14:18:26 +0000
commit95f9e0fd4a4acc9a7552e4efc0dc04627936305a (patch)
treed1ed8e1e4d785de66d9a4e0a9b145c60f9d4c1ed /includes/gnutls
parent647c0a87ec285f1426e512de977c7e1a94c189d6 (diff)
downloadgnutls-95f9e0fd4a4acc9a7552e4efc0dc04627936305a.tar.gz
Added support for generating CRLs in the library and the
certtool utility.
Diffstat (limited to 'includes/gnutls')
-rw-r--r--includes/gnutls/x509.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h
index fc80f9dd5a..9d16eafdce 100644
--- a/includes/gnutls/x509.h
+++ b/includes/gnutls/x509.h
@@ -191,6 +191,19 @@ int gnutls_x509_crl_get_crt_serial(gnutls_x509_crl crl, int index, unsigned char
int gnutls_x509_crl_check_issuer( gnutls_x509_crl crl,
gnutls_x509_crt issuer);
+/* CRL writing.
+ */
+int gnutls_x509_crl_set_version(gnutls_x509_crl crl, unsigned int version);
+int gnutls_x509_crl_sign(gnutls_x509_crl crl, gnutls_x509_crt issuer,
+ gnutls_x509_privkey issuer_key);
+int gnutls_x509_crl_set_this_update(gnutls_x509_crl crl, time_t act_time);
+int gnutls_x509_crl_set_next_update(gnutls_x509_crl crl, time_t exp_time);
+int gnutls_x509_crl_set_crt_serial(gnutls_x509_crl crl, const void* serial,
+ size_t serial_size, time_t revocation_time);
+int gnutls_x509_crl_set_crt(gnutls_x509_crl crl, gnutls_x509_crt crt,
+ time_t revocation_time);
+
+
/* PKCS7 structures handling
*/