pkcs11

pkcs11

Synopsis




#define     LIBGNUTLS_PKCS11_VERSION
int         gnutls_pkcs11_get_ca_certificates
                                            (gnutls_x509_crt_t **cert_list,
                                             unsigned int *ncerts);

Description

Details

LIBGNUTLS_PKCS11_VERSION

#define     LIBGNUTLS_PKCS11_VERSION


gnutls_pkcs11_get_ca_certificates ()

int         gnutls_pkcs11_get_ca_certificates
                                            (gnutls_x509_crt_t **cert_list,
                                             unsigned int *ncerts);

Get a list of X.509 certificates from the PKCS11 provider which are marked as CKA_TRUSTED. Each certificate must be deallocated, by the caller, using gnutls_x509_crt_deinit(), and the array itself must be deallocated using gnutls_free().

cert_list :
ncerts :
Returns :