diff options
author | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-03-28 20:45:13 +0000 |
---|---|---|
committer | Nikos Mavrogiannopoulos <nmav@gnutls.org> | 2005-03-28 20:45:13 +0000 |
commit | d02e7a1d22f73ce589508394390d0d1493952820 (patch) | |
tree | 0abe3ffb6e7fda09112abe380822f1912122e13a /includes | |
parent | a4fa1abebdd9b2310005972befa2a81d0e82ff8e (diff) | |
download | gnutls-d02e7a1d22f73ce589508394390d0d1493952820.tar.gz |
Added the function gnutls_x509_crt_list_import(). This is a convinience function to import many certificates with a single call.
Diffstat (limited to 'includes')
-rw-r--r-- | includes/gnutls/x509.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/includes/gnutls/x509.h b/includes/gnutls/x509.h index a082e753b3..b89a44ef64 100644 --- a/includes/gnutls/x509.h +++ b/includes/gnutls/x509.h @@ -83,6 +83,8 @@ int gnutls_x509_crt_init(gnutls_x509_crt_t * cert); void gnutls_x509_crt_deinit(gnutls_x509_crt_t cert); int gnutls_x509_crt_import(gnutls_x509_crt_t cert, const gnutls_datum_t * data, gnutls_x509_crt_fmt_t format); +int gnutls_x509_crt_list_import(gnutls_x509_crt_t *certs, unsigned int cert_max, + const gnutls_datum_t * data, gnutls_x509_crt_fmt_t format, unsigned int flags); int gnutls_x509_crt_export( gnutls_x509_crt_t cert, gnutls_x509_crt_fmt_t format, void* output_data, size_t* output_data_size); int gnutls_x509_crt_get_issuer_dn(gnutls_x509_crt_t cert, char *buf, |