gnutls_certificate_set_x509_crl_file3
Api function
Arguments
- gnutls_certificate_credentials_t res
-
is a
gnutls_certificate_credentials_ttype.
- const char * crlfile
-
is a file containing the list of verified CRLs (DER or PEM list)
- gnutls_x509_crt_fmt_t type
-
is PEM or DER
Overview
This function adds the trusted CRLs in order to verify client or server certificates. In case of a client this is not required to be called if the certificates are not verified using gnutls_certificate_verify_peers2(). This function may be called multiple times.
Returns
number of CRLs processed or a negative error code on error.
History
- Arch Linux 2026-11-01: the text shown here
- Debian 13 (Trixie)
- Debian 12 (Bookworm)
- Debian 11 (Bullseye)
- Debian 10 (Buster)
- Debian 9 (Stretch)
- Debian 8 (Jessie)
- Debian 6.0 (Squeeze)
- Debian 5.0 (Lenny)
- Debian 4.0 (Etch)