1gnutls_x509_trust_list_remove_trust_gfgninulutetl(ls3s_)x509_trust_list_remove_trust_file(3)
2
3
4
6 gnutls_x509_trust_list_remove_trust_file - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_trust_list_remove_trust_file(gnutls_x509_trust_list_t
12 list, const char * ca_file, gnutls_x509_crt_fmt_t type);
13
15 gnutls_x509_trust_list_t list
16 The list
17
18 const char * ca_file
19 A file containing a list of CAs
20
21 gnutls_x509_crt_fmt_t type
22 The format of the certificates
23
25 This function will remove the given certificate authorities from the
26 trusted list, and add them into a black list when needed. PKCS 11 URLs
27 are also accepted, instead of files, by this function.
28
29 See also gnutls_x509_trust_list_remove_cas().
30
32 The number of added elements is returned.
33
35 3.1.10
36
38 Report bugs to <bugs@gnutls.org>.
39 Home page: http://www.gnutls.org
40
41
43 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
44 Copying and distribution of this file, with or without modification,
45 are permitted in any medium without royalty provided the copyright
46 notice and this notice are preserved.
47
49 The full documentation for gnutls is maintained as a Texinfo manual.
50 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
51 visit
52
53 http://www.gnutls.org/manual/
54
55gnutls gn3u.t6l.s5_x509_trust_list_remove_trust_file(3)