1gnutls_x509_crt_get_authority_key_id(g3n)utglnsutls_x509_crt_get_authority_key_id(3)
2
3
4
6 gnutls_x509_crt_get_authority_key_id - This function returns the cer‐
7 tificate authority's identifier
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_get_authority_key_id(gnutls_x509_crt_t cert, void *
13 ret, size_t * ret_size, unsigned int * critical);
14
16 gnutls_x509_crt_t cert
17 should contain a gnutls_x509_crt_t structure
18
19 void * ret
20
21 size_t * ret_size
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 X.509v3 certificate authority's key iden‐
29 tifier. This is obtained by the X.509 Authority Key identifier exten‐
30 sion field (2.5.29.35). Note that this function only returns the keyI‐
31 dentifier field of the extension.
32
33 Returns 0 on success and a negative value in case of an error.
34
36 Report bugs to <bug-gnutls@gnu.org>.
37
39 Copyright © 2006 Free Software Foundation.
40 Permission is granted to make and distribute verbatim copies of this
41 manual provided the copyright notice and this permission notice are
42 preserved on all copies.
43
45 The full documentation for gnutls is maintained as a Texinfo manual.
46 If the info and gnutls programs are properly installed at your site,
47 the command
48
49 info gnutls
50
51 should give you access to the complete manual.
52
53
54
55gnutls 1.6g.n3utls_x509_crt_get_authority_key_id(3)