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 structure of 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 verify parameter will hold an OR'ed sequence of
40 gnutls_certificate_status_t flags.
41
42 Additionally a certificate verification profile can be specified from
43 the ones in gnutls_certificate_verification_profiles_t by ORing the
44 result of GNUTLS_PROFILE_TO_VFLAGS() to the verification flags.
45
47 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
48 error value.
49
51 3.0
52
54 Report bugs to <bugs@gnutls.org>.
55 Home page: http://www.gnutls.org
56
57
59 Copyright © 2001-2014 Free Software Foundation, Inc..
60 Copying and distribution of this file, with or without modification,
61 are permitted in any medium without royalty provided the copyright
62 notice and this notice are preserved.
63
65 The full documentation for gnutls is maintained as a Texinfo manual.
66 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
67 visit
68
69 http://www.gnutls.org/manual/
70
71gnutls 3.3.29gnutls_x509_trust_list_verify_crt(3)