struct gnutls_x509_trust_list_st
struct gnutls_x509_trust_list_st {
unsigned int size;
struct node_st *node;
/* holds a sequence of the RDNs of the CAs above.
* This is used when using the trust list in TLS.
*/
gnutls_datum_t x509_rdn_sequence;
gnutls_x509_crt_t *blacklisted;
unsigned int blacklisted_size;
/* certificates that will be deallocated when this struct
* will be deinitialized */
gnutls_x509_crt_t *keep_certs;
unsigned int keep_certs_size;
char* pkcs11_token;
/* set this callback if the issuer in the certificate
* chain is missing. */
gnutls_x509_trust_list_getissuer_function *issuer_callback;
/* set user pointer. */
void *usr_ptr;
};