1gnutls_x509_crl_verify(3) gnutls gnutls_x509_crl_verify(3)
2
3
4
6 gnutls_x509_crl_verify - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_verify(gnutls_x509_crl_t crl, const
12 gnutls_x509_crt_t * trusted_cas, unsigned tcas_size, unsigned int
13 flags, unsigned int * verify);
14
16 gnutls_x509_crl_t crl
17 is the crl to be verified
18
19 const gnutls_x509_crt_t * trusted_cas
20 is a certificate list that is considered to be trusted one
21
22 unsigned tcas_size
23 holds the number of CA certificates in CA_list
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 * verify
31 will hold the crl verification output.
32
34 This function will try to verify the given crl and return its verifica‐
35 tion status. See gnutls_x509_crt_list_verify() for a detailed descrip‐
36 tion of return values. Note that since GnuTLS 3.1.4 this function
37 includes the time checks.
38
39 Note that value in verify is set only when the return value of this
40 function is success (i.e, failure to trust a CRL a certificate does not
41 imply a negative return value).
42
43 Before GnuTLS 3.5.7 this function would return zero or a positive num‐
44 ber on success.
45
47 On success, GNUTLS_E_SUCCESS (0), otherwise a negative error value.
48
50 Report bugs to <bugs@gnutls.org>.
51 Home page: https://www.gnutls.org
52
53
55 Copyright © 2001-2019 Free Software Foundation, Inc., and others.
56 Copying and distribution of this file, with or without modification,
57 are permitted in any medium without royalty provided the copyright
58 notice and this notice are preserved.
59
61 The full documentation for gnutls is maintained as a Texinfo manual.
62 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
63 visit
64
65 https://www.gnutls.org/manual/
66
67gnutls 3.6.8 gnutls_x509_crl_verify(3)