diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-06 10:05:53 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2003-02-06 10:05:53 +0000 |
commit | 65938d8337e3cb56762a82d6141e33d89475b716 (patch) | |
tree | 22274c681b303bcd584c0a022b429e28e83fb53f /includes | |
parent | 73f500a5dd3131dd87b277d1bbd4f8d80e4533ef (diff) | |
download | gnutls-65938d8337e3cb56762a82d6141e33d89475b716.tar.gz |
Several fixes and improvements in CRL support.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/x509.h | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h index ab9a1fc973..3fa352e931 100644 --- a/includes/gnutls/x509.h +++ b/includes/gnutls/x509.h @@ -38,10 +38,13 @@ typedef struct gnutls_crl_int* gnutls_crl; int gnutls_x509_crl_init(gnutls_crl * crl); void gnutls_x509_crl_deinit(gnutls_crl crl); -int gnutls_x509_crl_import_der(const gnutls_datum * der, gnutls_crl crl); +int gnutls_x509_crl_import(gnutls_crl crl, const gnutls_datum * data, + gnutls_x509_certificate_format format); + +int gnutls_x509_crl_get_issuer_dn(const gnutls_crl crl, + char *buf, int *sizeof_buf); +int gnutls_x509_crl_get_signed_data(gnutls_crl crl, gnutls_datum *data); -int gnutls_x509_crl_get_issuer_dn_string(const gnutls_crl crl, - char *buf, unsigned int sizeof_buf); #ifdef __cplusplus } |