1gnutls_x509_trust_list_add_trust_mem(g3n)utglnsutls_x509_trust_list_add_trust_mem(3)
2
3
4

NAME

6       gnutls_x509_trust_list_add_trust_mem - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int gnutls_x509_trust_list_add_trust_mem(gnutls_x509_trust_list_t list,
12       const   gnutls_datum_t   *   cas,   const   gnutls_datum_t   *    crls,
13       gnutls_x509_crt_fmt_t   type,   unsigned  int  tl_flags,  unsigned  int
14       tl_vflags);
15

ARGUMENTS

17       gnutls_x509_trust_list_t list
18                   The structure of the list
19
20       const gnutls_datum_t * cas
21                   A buffer containing a list of CAs (optional)
22
23       const gnutls_datum_t * crls
24                   A buffer containing a list of CRLs (optional)
25
26       gnutls_x509_crt_fmt_t type
27                   The format of the certificates
28
29       unsigned int tl_flags
30                   GNUTLS_TL_*
31
32       unsigned int tl_vflags
33                   gnutls_certificate_verify_flags    if    flags    specifies
34                   GNUTLS_TL_VERIFY_CRL
35

DESCRIPTION

37       This function will add the given certificate authorities to the trusted
38       list.
39

RETURNS

41       The number of added elements is returned.
42

SINCE

44       3.1
45

REPORTING BUGS

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

SEE ALSO

58       The full documentation for gnutls is maintained as  a  Texinfo  manual.
59       If  the /usr/share/doc/gnutls/ directory does not contain the HTML form
60       visit
61
62       http://www.gnutls.org/manual/
63
64gnutls                              3.3.g2n9utls_x509_trust_list_add_trust_mem(3)
Impressum