gnutls_certificate_free_ca_names - Linux


Overview

gnutls_certificate_free_ca_names frees the allocated structure that contains the list of CAs.

Syntax

gnutls_certificate_free_ca_names(CaNames)

CaNames: pointer to a structure holding the CA_names list.

Options/Flags

None.

Examples

gnutls_x509_crt_import(cert, x509CRL, GNUTLS_X509_FMT_PEM);
cacert = gnutls_x509_crt_get_ca_names(cert);
gnutls_certificate_free_ca_names(cacert);

Common Issues

None.

Integration

Can be used in conjunction with other GNUTLS functions to manage certificates.

Related Commands

  • gnutls_certificate_get_ca_names
  • gnutls_x509_crt_import