1gnutls_x509_trust_list_remove_cas(3)gnutlsgnutls_x509_trust_list_remove_cas(3)
2
3
4

NAME

6       gnutls_x509_trust_list_remove_cas - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int   gnutls_x509_trust_list_remove_cas(gnutls_x509_trust_list_t  list,
12       const gnutls_x509_crt_t * clist, unsigned clist_size);
13

ARGUMENTS

15       gnutls_x509_trust_list_t list
16                   The list
17
18       const gnutls_x509_crt_t * clist
19                   A list of CAs
20
21       unsigned clist_size
22                   The length of the CA list
23

DESCRIPTION

25       This function will remove the given certificate  authorities  from  the
26       trusted list.
27
28       Note that this function can accept certificates and authorities not yet
29       known. In that case they will be kept in a  separate  black  list  that
30       will    be    used    during    certificate    verification.     Unlike
31       gnutls_x509_trust_list_add_cas() there is no deinitialization  restric‐
32       tion for  certificate list provided in this function.
33

RETURNS

35       The number of removed elements is returned.
36

SINCE

38       3.1.10
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: https://www.gnutls.org
43
44
46       Copyright © 2001- Free Software Foundation, Inc., and others.
47       Copying  and  distribution  of this file, with or without modification,
48       are permitted in any medium without royalty provided the copyright  no‐
49       tice and this notice are preserved.
50

SEE ALSO

52       The  full  documentation  for gnutls is maintained as a Texinfo manual.
53       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
54       visit
55
56       https://www.gnutls.org/manual/
57
58gnutls                               3.7.6gnutls_x509_trust_list_remove_cas(3)
Impressum