1gnutls_certificate_set_x509_system_tgrgnunusutttl(ls3s_)certificate_set_x509_system_trust(3)
2
3
4
6 gnutls_certificate_set_x509_system_trust - API function
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_certificate_set_x509_system_trust(gnutls_certificate_creden‐
12 tials_t cred);
13
15 gnutls_certificate_credentials_t cred
16 is a gnutls_certificate_credentials_t type.
17
19 This function adds the system's default trusted CAs in order to verify
20 client or server certificates.
21
22 In the case the system is currently unsupported GNUTLS_E_UNIMPLE‐
23 MENTED_FEATURE is returned.
24
26 the number of certificates processed or a negative error code on error.
27
29 3.0.20
30
32 Report bugs to <bugs@gnutls.org>.
33 Home page: https://www.gnutls.org
34
35
37 Copyright © 2001- Free Software Foundation, Inc., and others.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright no‐
40 tice and this notice are preserved.
41
43 The full documentation for gnutls is maintained as a Texinfo manual.
44 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
45 visit
46
47 https://www.gnutls.org/manual/
48
49gnutls gn3u.t7l.s2_certificate_set_x509_system_trust(3)