diff options
Diffstat (limited to 'lib/x509/pkcs7.h')
-rw-r--r-- | lib/x509/pkcs7.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/x509/pkcs7.h b/lib/x509/pkcs7.h index 64a8f4b7d1..c3d6757ab8 100644 --- a/lib/x509/pkcs7.h +++ b/lib/x509/pkcs7.h @@ -3,12 +3,12 @@ typedef struct gnutls_pkcs7_int { ASN1_TYPE pkcs7; } gnutls_pkcs7_int; -typedef struct gnutls_pkcs7_int *gnutls_pkcs7; +typedef struct gnutls_pkcs7_int *gnutls_pkcs7_t; -int gnutls_pkcs7_init(gnutls_pkcs7 * pkcs7); -void gnutls_pkcs7_deinit(gnutls_pkcs7 pkcs7); -int gnutls_pkcs7_import(gnutls_pkcs7 pkcs7, const gnutls_datum * data, - gnutls_x509_crt_fmt format); -int gnutls_pkcs7_get_crt_raw(gnutls_pkcs7 pkcs7, +int gnutls_pkcs7_init(gnutls_pkcs7_t * pkcs7); +void gnutls_pkcs7_deinit(gnutls_pkcs7_t pkcs7); +int gnutls_pkcs7_import(gnutls_pkcs7_t pkcs7, const gnutls_datum_t * data, + gnutls_x509_crt_fmt_t format); +int gnutls_pkcs7_get_crt_raw(gnutls_pkcs7_t pkcs7, int indx, void* certificate, size_t* certificate_size); -int gnutls_pkcs7_get_crt_count(gnutls_pkcs7 pkcs7); +int gnutls_pkcs7_get_crt_count(gnutls_pkcs7_t pkcs7); |