1gnutls_x509_trust_list_verify_crt(3)gnutlsgnutls_x509_trust_list_verify_crt(3)
2
3
4
6 gnutls_x509_trust_list_verify_crt - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_trust_list_verify_crt(gnutls_x509_trust_list_t list,
12 gnutls_x509_crt_t * cert_list, unsigned int cert_list_size, unsigned
13 int flags, unsigned int * voutput, gnutls_verify_output_function func);
14
16 gnutls_x509_trust_list_t list
17 The list
18
19 gnutls_x509_crt_t * cert_list
20 is the certificate list to be verified
21
22 unsigned int cert_list_size
23 is the certificate list size
24
25 unsigned int flags
26 Flags that may be used to change the verification algo‐
27 rithm. Use OR of the gnutls_certificate_verify_flags enu‐
28 merations.
29
30 unsigned int * voutput
31 will hold the certificate verification output.
32
33 gnutls_verify_output_function func
34 If non-null will be called on each chain element verifica‐
35 tion with the output.
36
38 This function will try to verify the given certificate and return its
39 status. The voutput parameter will hold an OR'ed sequence of
40 gnutls_certificate_status_t flags.
41
42 The details of the verification are the same as in
43 gnutls_x509_trust_list_verify_crt2().
44
46 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
47 error value.
48
50 3.0
51
53 Report bugs to <bugs@gnutls.org>.
54 Home page: https://www.gnutls.org
55
56
58 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
59 Copying and distribution of this file, with or without modification,
60 are permitted in any medium without royalty provided the copyright
61 notice and this notice are preserved.
62
64 The full documentation for gnutls is maintained as a Texinfo manual.
65 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
66 visit
67
68 https://www.gnutls.org/manual/
69
70gnutls 3.6.8gnutls_x509_trust_list_verify_crt(3)