1gnutls_x509_crl_list_import(3) gnutls gnutls_x509_crl_list_import(3)
2
3
4
6 gnutls_x509_crl_list_import - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_list_import(gnutls_x509_crl_t * crls, unsigned int
12 * crl_max, const gnutls_datum_t * data, gnutls_x509_crt_fmt_t format,
13 unsigned int flags);
14
16 gnutls_x509_crl_t * crls
17 Indicates where the parsed CRLs will be copied to. Must not
18 be initialized.
19
20 unsigned int * crl_max
21 Initially must hold the maximum number of crls. It will be
22 updated with the number of crls available.
23
24 const gnutls_datum_t * data
25 The PEM encoded CRLs
26
27 gnutls_x509_crt_fmt_t format
28 One of DER or PEM.
29
30 unsigned int flags
31 must be (0) or an OR'd sequence of gnutls_certificate_im‐
32 port_flags.
33
35 This function will convert the given PEM encoded CRL list to the native
36 gnutls_x509_crl_t format. The output will be stored in crls . They
37 will be automatically initialized.
38
39 If the Certificate is PEM encoded it should have a header of "X509
40 CRL".
41
43 the number of certificates read or a negative error value.
44
46 3.0
47
49 Report bugs to <bugs@gnutls.org>.
50 Home page: https://www.gnutls.org
51
52
54 Copyright © 2001- Free Software Foundation, Inc., and others.
55 Copying and distribution of this file, with or without modification,
56 are permitted in any medium without royalty provided the copyright no‐
57 tice and this notice are preserved.
58
60 The full documentation for gnutls is maintained as a Texinfo manual.
61 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
62 visit
63
64 https://www.gnutls.org/manual/
65
66gnutls 3.7.2 gnutls_x509_crl_list_import(3)