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, int tcas_size, unsigned int flags,
13 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 int 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
44 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
45 error value.
46
48 Report bugs to <bugs@gnutls.org>.
49 Home page: http://www.gnutls.org
50
51
53 Copyright © 2001-2014 Free Software Foundation, Inc..
54 Copying and distribution of this file, with or without modification,
55 are permitted in any medium without royalty provided the copyright
56 notice and this notice are preserved.
57
59 The full documentation for gnutls is maintained as a Texinfo manual.
60 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
61 visit
62
63 http://www.gnutls.org/manual/
64
65gnutls 3.3.29 gnutls_x509_crl_verify(3)