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/x509.h>
10
11 int gnutls_pkcs7_get_crl_raw(gnutls_pkcs7_t pkcs7, int indx, void *
12 crl, size_t * crl_size);
13
15 gnutls_pkcs7_t pkcs7
16 should contain a gnutls_pkcs7_t structure
17
18 int indx contains the index of the crl to extract
19
20 void * crl the contents of the crl will be copied there (may be null)
21
22 size_t * crl_size
23 should hold the size of the crl
24
26 This function will return a crl of the PKCS7 or RFC2630 crl set.
27
29 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
30 value. If the provided buffer is not long enough, then crl_size is
31 updated and GNUTLS_E_SHORT_MEMORY_BUFFER is returned. After the last
32 crl has been read GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be
33 returned.
34
36 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
37 http://www.gnu.org/software/gnutls/ General help using GNU software:
38 http://www.gnu.org/gethelp/
39
41 Copyright © 2008 Free Software Foundation.
42 Copying and distribution of this file, with or without modification,
43 are permitted in any medium without royalty provided the copyright
44 notice and this notice are preserved.
45
47 The full documentation for gnutls is maintained as a Texinfo manual.
48 If the info and gnutls programs are properly installed at your site,
49 the command
50
51 info gnutls
52
53 should give you access to the complete manual.
54
55
56
57gnutls 2.12.6.1 gnutls_pkcs7_get_crl_raw(3)