1gnutls_certificate_set_x509_crl_file(g3n)utglnsutls_certificate_set_x509_crl_file(3)
2
3
4
6 gnutls_certificate_set_x509_crl_file - Used to add CRLs in a
7 gnutls_certificate_credentials_t structure
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_certificate_set_x509_crl_file(gnutls_certificate_creden‐
13 tials_t res, const char * crlfile, gnutls_x509_crt_fmt_t type);
14
16 gnutls_certificate_credentials_t res
17 is a gnutls_certificate_credentials_t structure.
18
19 const char * crlfile
20 is a file containing the list of verified CRLs (DER or PEM
21 list)
22
23 gnutls_x509_crt_fmt_t type
24 is PEM or DER
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 number of CRLs processed or a negative value on error.
34
36 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
37 http://www.gnu.org/software/gnutls/ General help using GNU software:
38 http://www.gnu.org/gethelp/
39
41 Copyright © 2008 Free Software Foundation.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright
44 notice and this notice are preserved.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the info and gnutls programs are properly installed at your site,
49 the command
50
51 info gnutls
52
53 should give you access to the complete manual.
54
55
56
57gnutls 2.8g.n6utls_certificate_set_x509_crl_file(3)