1gnutls_x509_trust_list_add_system_truggsnntuu(tt3ll)ss_x509_trust_list_add_system_trust(3)
2
3
4

NAME

6       gnutls_x509_trust_list_add_system_trust - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int    gnutls_x509_trust_list_add_system_trust(gnutls_x509_trust_list_t
12       list, unsigned int tl_flags, unsigned int tl_vflags);
13

ARGUMENTS

15       gnutls_x509_trust_list_t list
16                   The structure of the list
17
18       unsigned int tl_flags
19                   GNUTLS_TL_*
20
21       unsigned int tl_vflags
22                   gnutls_certificate_verify_flags    if    flags    specifies
23                   GNUTLS_TL_VERIFY_CRL
24

DESCRIPTION

26       This function adds the system's default trusted certificate authorities
27       to the trusted list. Note that on  unsupported  systems  this  function
28       returns GNUTLS_E_UNIMPLEMENTED_FEATURE.
29
30       This function implies the flag GNUTLS_TL_NO_DUPLICATES.
31

RETURNS

33       The number of added elements or a negative error code on error.
34

SINCE

36       3.1
37

REPORTING BUGS

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

SEE ALSO

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