1gnutls_certificate_set_x509_crl(3) gnutls gnutls_certificate_set_x509_crl(3)
2
3
4
6 gnutls_certificate_set_x509_crl - Used to add CRLs in a gnutls_certifi‐
7 cate_credentials_t structure
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_certificate_set_x509_crl(gnutls_certificate_credentials_t
13 res, gnutls_x509_crl_t * crl_list, int crl_list_size);
14
16 gnutls_certificate_credentials_t res
17 is a gnutls_certificate_credentials_t structure.
18
19 gnutls_x509_crl_t * crl_list
20 is a list of trusted CRLs. They should have been verified
21 before.
22
23 int crl_list_size
24 holds the size of the crl_list
25
27 This function adds the trusted CRLs in order to verify client or server
28 certificates. In case of a client this is not required to be called if
29 the certificates are not verified using gnutls_certificate_ver‐
30 ify_peers2(). This function may be called multiple times.
31
33 GNUTLS_E_SUCCESS on success, or an error code.
34
36 2.4.0
37
39 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
40 http://www.gnu.org/software/gnutls/ General help using GNU software:
41 http://www.gnu.org/gethelp/
42
44 Copyright © 2008 Free Software Foundation.
45 Copying and distribution of this file, with or without modification,
46 are permitted in any medium without royalty provided the copyright
47 notice and this notice are preserved.
48
50 The full documentation for gnutls is maintained as a Texinfo manual.
51 If the info and gnutls programs are properly installed at your site,
52 the command
53
54 info gnutls
55
56 should give you access to the complete manual.
57
58
59
60gnutls 2.8.6 gnutls_certificate_set_x509_crl(3)