1gnutls_pkcs7_get_crl_raw(3) gnutls gnutls_pkcs7_get_crl_raw(3)
2
3
4
6 gnutls_pkcs7_get_crl_raw - API function
7
9 #include <gnutls/pkcs7.h>
10
11 int gnutls_pkcs7_get_crl_raw(gnutls_pkcs7_t pkcs7, unsigned indx, void
12 * crl, size_t * crl_size);
13
15 gnutls_pkcs7_t pkcs7
16 The pkcs7 type
17
18 unsigned indx
19 contains the index of the crl to extract
20
21 void * crl the contents of the crl will be copied there (may be null)
22
23 size_t * crl_size
24 should hold the size of the crl
25
27 This function will return a crl of the PKCS7 or RFC2630 crl set.
28
30 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
31 ror value. If the provided buffer is not long enough, then crl_size
32 is updated and GNUTLS_E_SHORT_MEMORY_BUFFER is returned. After the
33 last crl has been read GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be
34 returned.
35
37 Report bugs to <bugs@gnutls.org>.
38 Home page: https://www.gnutls.org
39
40
42 Copyright © 2001- Free Software Foundation, Inc., and others.
43 Copying and distribution of this file, with or without modification,
44 are permitted in any medium without royalty provided the copyright no‐
45 tice and this notice are preserved.
46
48 The full documentation for gnutls is maintained as a Texinfo manual.
49 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
50 visit
51
52 https://www.gnutls.org/manual/
53
54gnutls 3.7.2 gnutls_pkcs7_get_crl_raw(3)