1gnutls_x509_crl_get_extension_oid(3)gnutlsgnutls_x509_crl_get_extension_oid(3)
2
3
4
6 gnutls_x509_crl_get_extension_oid - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_get_extension_oid(gnutls_x509_crl_t crl, unsigned
12 indx, void * oid, size_t * sizeof_oid);
13
15 gnutls_x509_crl_t crl
16 should contain a gnutls_x509_crl_t type
17
18 unsigned indx
19 Specifies which extension OID to send, use (0) to get the
20 first one.
21
22 void * oid a pointer to store the OID (may be null)
23
24 size_t * sizeof_oid
25 initially holds the size of oid
26
28 This function will return the requested extension OID in the CRL. The
29 extension OID will be stored as a string in the provided buffer.
30
32 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative er‐
33 ror code in case of an error. If your have reached the last extension
34 available GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE will be returned.
35
37 2.8.0
38
40 Report bugs to <bugs@gnutls.org>.
41 Home page: https://www.gnutls.org
42
43
45 Copyright © 2001-2023 Free Software Foundation, Inc., and others.
46 Copying and distribution of this file, with or without modification,
47 are permitted in any medium without royalty provided the copyright no‐
48 tice and this notice are preserved.
49
51 The full documentation for gnutls is maintained as a Texinfo manual.
52 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
53 visit
54
55 https://www.gnutls.org/manual/
56
57gnutls 3.8.2gnutls_x509_crl_get_extension_oid(3)