1gnutls_x509_crl_get_authority_key_id(g3n)utglnsutls_x509_crl_get_authority_key_id(3)
2
3
4
6 gnutls_x509_crl_get_authority_key_id - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crl_get_authority_key_id(gnutls_x509_crl_t crl, void *
12 id, size_t * id_size, unsigned int * critical);
13
15 gnutls_x509_crl_t crl
16 should contain a gnutls_x509_crl_t type
17
18 void * id The place where the identifier will be copied
19
20 size_t * id_size
21 Holds the size of the result field.
22
23 unsigned int * critical
24 will be non-zero if the extension is marked as critical
25 (may be null)
26
28 This function will return the CRL authority's key identifier. This is
29 obtained by the X.509 Authority Key identifier extension field
30 (2.5.29.35). Note that this function only returns the keyIdentifier
31 field of the extension and GNUTLS_E_X509_UNSUPPORTED_EXTENSION, if the
32 extension contains the name and serial number of the certificate. In
33 that case gnutls_x509_crl_get_authority_key_gn_serial() may be used.
34
36 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
37 error code in case of an error.
38
40 2.8.0
41
43 Report bugs to <bugs@gnutls.org>.
44 Home page: http://www.gnutls.org
45
46
48 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
49 Copying and distribution of this file, with or without modification,
50 are permitted in any medium without royalty provided the copyright
51 notice and this notice are preserved.
52
54 The full documentation for gnutls is maintained as a Texinfo manual.
55 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
56 visit
57
58 http://www.gnutls.org/manual/
59
60gnutls 3.6g.n5utls_x509_crl_get_authority_key_id(3)