1gnutls_x509_trust_list_add_trust_dir(g3n)utglnsutls_x509_trust_list_add_trust_dir(3)
2
3
4

NAME

6       gnutls_x509_trust_list_add_trust_dir - API function
7

SYNOPSIS

9       #include <gnutls/x509.h>
10
11       int gnutls_x509_trust_list_add_trust_dir(gnutls_x509_trust_list_t list,
12       const char * ca_dir, const char * crl_dir, gnutls_x509_crt_fmt_t  type,
13       unsigned int tl_flags, unsigned int tl_vflags);
14

ARGUMENTS

16       gnutls_x509_trust_list_t list
17                   The list
18
19       const char * ca_dir
20                   A directory containing the CAs (optional)
21
22       const char * crl_dir
23                   A directory containing a list of CRLs (optional)
24
25       gnutls_x509_crt_fmt_t type
26                   The format of the certificates
27
28       unsigned int tl_flags
29                   flags from gnutls_trust_list_flags_t
30
31       unsigned int tl_vflags
32                   gnutls_certificate_verify_flags    if    flags    specifies
33                   GNUTLS_TL_VERIFY_CRL
34

DESCRIPTION

36       This function will add the given certificate authorities to the trusted
37       list. Only directories are accepted by this function.
38

RETURNS

40       The number of added elements is returned.
41

SINCE

43       3.3.6
44

REPORTING BUGS

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

SEE ALSO

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