1gnutls_x509_crl_get_extension_info(3)gnutlsgnutls_x509_crl_get_extension_info(3)
2
3
4
6 gnutls_x509_crl_get_extension_info - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_get_extension_info(gnutls_x509_crl_t crl, int indx,
12 void * oid, size_t * sizeof_oid, int * critical);
13
15 gnutls_x509_crl_t crl
16 should contain a gnutls_x509_crl_t structure
17
18 int indx Specifies which extension OID to send, use zero to get the
19 first one.
20
21 void * oid a pointer to a structure to hold the OID
22
23 size_t * sizeof_oid
24 initially holds the maximum size of oid, on return holds
25 actual size of oid.
26
27 int * critical
28 output variable with critical flag, may be NULL.
29
31 This function will return the requested extension OID in the CRL, and
32 the critical flag for it. The extension OID will be stored as a string
33 in the provided buffer. Use gnutls_x509_crl_get_extension_data() to
34 extract the data.
35
36 If the buffer provided is not long enough to hold the output, then
37 *sizeof_oid is updated and GNUTLS_E_SHORT_MEMORY_BUFFER will be
38 returned.
39
41 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative value in
42 case of an error. If your have reached the last extension available
43 GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.
44
46 2.8.0
47
49 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
50 http://www.gnu.org/software/gnutls/ General help using GNU software:
51 http://www.gnu.org/gethelp/
52
54 Copyright © 2008 Free Software Foundation.
55 Copying and distribution of this file, with or without modification,
56 are permitted in any medium without royalty provided the copyright
57 notice and this notice are preserved.
58
60 The full documentation for gnutls is maintained as a Texinfo manual.
61 If the info and gnutls programs are properly installed at your site,
62 the command
63
64 info gnutls
65
66 should give you access to the complete manual.
67
68
69
70gnutls 2.12.6.g1nutls_x509_crl_get_extension_info(3)