1gnutls_x509_crt_get_subject_key_id(3)gnutlsgnutls_x509_crt_get_subject_key_id(3)
2
3
4
6 gnutls_x509_crt_get_subject_key_id - This function returns the certifi‐
7 cate's key identifier
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crt_get_subject_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's subject key identi‐
29 fier. This is obtained by the X.509 Subject Key identifier extension
30 field (2.5.29.14).
31
32 Returns 0 on success and a negative value in case of an error.
33
35 Report bugs to <bug-gnutls@gnu.org>.
36
38 Copyright © 2006 Free Software Foundation.
39 Permission is granted to make and distribute verbatim copies of this
40 manual provided the copyright notice and this permission notice are
41 preserved on all copies.
42
44 The full documentation for gnutls is maintained as a Texinfo manual.
45 If the info and gnutls programs are properly installed at your site,
46 the command
47
48 info gnutls
49
50 should give you access to the complete manual.
51
52
53
54gnutls 1.6.3gnutls_x509_crt_get_subject_key_id(3)