1gnutls_x509_trust_list_add_cas(3)   gnutls   gnutls_x509_trust_list_add_cas(3)
2
3
4

NAME

6       gnutls_x509_trust_list_add_cas - API function
7

SYNOPSIS

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

ARGUMENTS

15       gnutls_x509_trust_list_t list
16                   The structure of 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
24       unsigned int flags
25                   should be 0 or an or'ed sequence of GNUTLS_TL options.
26

DESCRIPTION

28       This function will add the given certificate authorities to the trusted
29       list. The list of CAs must not be deinitialized during this structure's
30       lifetime.
31
32       If the flag GNUTLS_TL_NO_DUPLICATES is  specified,  then  the  provided
33       clist  entries  that  are  duplicates will not be added to the list and
34       will be deinitialized.
35

RETURNS

37       The number of added elements is returned.
38

SINCE

40       3.0.0
41

REPORTING BUGS

43       Report bugs to <bugs@gnutls.org>.
44       Home page: http://www.gnutls.org
45
46
48       Copyright © 2001-2014 Free Software Foundation, Inc..
49       Copying and distribution of this file, with  or  without  modification,
50       are  permitted  in  any  medium  without royalty provided the copyright
51       notice and this notice are preserved.
52

SEE ALSO

54       The full documentation for gnutls is maintained as  a  Texinfo  manual.
55       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
56       visit
57
58       http://www.gnutls.org/manual/
59
60gnutls                              3.3.29   gnutls_x509_trust_list_add_cas(3)
Impressum