1gnutls_certificate_set_x509_crl_mem(3g)nutlgsnutls_certificate_set_x509_crl_mem(3)
2
3
4
6 gnutls_certificate_set_x509_crl_mem - Used to add CRLs in a gnutls_cer‐
7 tificate_credentials_t structure
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_certificate_set_x509_crl_mem(gnutls_certificate_creden‐
13 tials_t res, const gnutls_datum_t * CRL, gnutls_x509_crt_fmt_t
14 type);
15
17 gnutls_certificate_credentials_t res
18 is an gnutls_certificate_credentials_t structure.
19
20 const gnutls_datum_t * CRL
21 is a list of trusted CRLs. They should have been verified
22 before.
23
24 gnutls_x509_crt_fmt_t type
25 is DER or PEM
26
28 This function adds the trusted CRLs in order to verify client or server
29 certificates. In case of a client this is not required to be called if
30 the certificates are not verified using gnutls_certificate_ver‐
31 ify_peers2(). This function may be called multiple times.
32
33 Returns the number of CRLs processed or a negative value on error.
34
36 Report bugs to <bug-gnutls@gnu.org>.
37
39 Copyright © 2006 Free Software Foundation.
40 Permission is granted to make and distribute verbatim copies of this
41 manual provided the copyright notice and this permission notice are
42 preserved on all copies.
43
45 The full documentation for gnutls is maintained as a Texinfo manual.
46 If the info and gnutls programs are properly installed at your site,
47 the command
48
49 info gnutls
50
51 should give you access to the complete manual.
52
53
54
55gnutls 1.6.g3nutls_certificate_set_x509_crl_mem(3)