1gnutls_x509_aki_set_cert_issuer(3) gnutls gnutls_x509_aki_set_cert_issuer(3)
2
3
4
6 gnutls_x509_aki_set_cert_issuer - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_aki_set_cert_issuer(gnutls_x509_aki_t aki, unsigned int
12 san_type, const gnutls_datum_t * san, const char * othername_oid, const
13 gnutls_datum_t * serial);
14
16 gnutls_x509_aki_t aki
17 The authority key ID structure
18
19 unsigned int san_type
20 the type of the name (of gnutls_subject_alt_names_t), may
21 be null
22
23 const gnutls_datum_t * san
24 The alternative name data
25
26 const char * othername_oid
27 The object identifier if san_type is GNUTLS_SAN_OTHERNAME
28
29 const gnutls_datum_t * serial
30 The authorityCertSerialNumber number (may be null)
31
33 This function will set the authorityCertIssuer name and the authorityC‐
34 ertSerialNumber to be stored in the aki structure. When storing multi‐
35 ple names, the serial should be set on the first call, and subsequent
36 calls should use a NULL serial.
37
39 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
40 error value.
41
43 3.3.0
44
46 Report bugs to <bugs@gnutls.org>.
47 Home page: http://www.gnutls.org
48
49
51 Copyright © 2001-2014 Free Software Foundation, Inc..
52 Copying and distribution of this file, with or without modification,
53 are permitted in any medium without royalty provided the copyright
54 notice and this notice are preserved.
55
57 The full documentation for gnutls is maintained as a Texinfo manual.
58 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
59 visit
60
61 http://www.gnutls.org/manual/
62
63gnutls 3.3.29 gnutls_x509_aki_set_cert_issuer(3)