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 (0) is returned, otherwise a negative
30 error value. If the provided buffer is not long enough, then crl_size
31 is updated and GNUTLS_E_SHORT_MEMORY_BUFFER is returned. After the
32 last crl has been read GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be
33 returned.
34
36 Report bugs to <bugs@gnutls.org>.
37 Home page: http://www.gnutls.org
38
39
41 Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
49 visit
50
51 http://www.gnutls.org/manual/
52
53gnutls 3.3.29 gnutls_pkcs7_get_crl_raw(3)