1gnutls_x509_aki_get_cert_issuer(3) gnutls gnutls_x509_aki_get_cert_issuer(3)
2
3
4
6 gnutls_x509_aki_get_cert_issuer - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_aki_get_cert_issuer(gnutls_x509_aki_t aki, unsigned int
12 seq, unsigned int * san_type, gnutls_datum_t * san, gnutls_datum_t *
13 othername_oid, gnutls_datum_t * serial);
14
16 gnutls_x509_aki_t aki
17 The authority key ID
18
19 unsigned int seq
20 The index of the name to get
21
22 unsigned int * san_type
23 Will hold the type of the name (of gnutls_sub‐
24 ject_alt_names_t)
25
26 gnutls_datum_t * san
27 The alternative name data
28
29 gnutls_datum_t * othername_oid
30 The object identifier if san_type is GNUTLS_SAN_OTHERNAME
31
32 gnutls_datum_t * serial
33 The authorityCertSerialNumber number
34
36 This function will return a specific authorityCertIssuer name as stored
37 in the aki type, as well as the authorityCertSerialNumber. All the
38 returned values should be treated as constant, and may be set to NULL
39 when are not required.
40
42 On success, GNUTLS_E_SUCCESS [22m(0) is returned,
43 GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE if the index is out of bounds,
44 otherwise a negative error value.
45
47 3.3.0
48
50 Report bugs to <bugs@gnutls.org>.
51 Home page: https://www.gnutls.org
52
53
55 Copyright © 2001-2020 Free Software Foundation, Inc., and others.
56 Copying and distribution of this file, with or without modification,
57 are permitted in any medium without royalty provided the copyright
58 notice and this notice are preserved.
59
61 The full documentation for gnutls is maintained as a Texinfo manual.
62 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
63 visit
64
65 https://www.gnutls.org/manual/
66
67gnutls 3.6.13 gnutls_x509_aki_get_cert_issuer(3)