1gnutls_x509_aia_set(3) gnutls gnutls_x509_aia_set(3)
2
3
4
6 gnutls_x509_aia_set - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_aia_set(gnutls_x509_aia_t aia, const char * oid, un‐
12 signed san_type, const gnutls_datum_t * san);
13
15 gnutls_x509_aia_t aia
16 The authority info access
17
18 const char * oid
19 the type of data.
20
21 unsigned san_type
22 The type of the name (of gnutls_subject_alt_names_t)
23
24 const gnutls_datum_t * san
25 The alternative name data
26
28 This function will store the specified alternative name in the aia
29 type.
30
31 Typically the value for oid should be GNUTLS_OID_AD_OCSP, or
32 GNUTLS_OID_AD_CAISSUERS.
33
34 Since version 3.5.7 the GNUTLS_SAN_RFC822NAME, and GNUTLS_SAN_DNSNAME,
35 are converted to ACE format when necessary.
36
38 On success, GNUTLS_E_SUCCESS (0), otherwise a negative error value.
39
41 3.3.0
42
44 Report bugs to <bugs@gnutls.org>.
45 Home page: https://www.gnutls.org
46
47
49 Copyright © 2001- Free Software Foundation, Inc., and others.
50 Copying and distribution of this file, with or without modification,
51 are permitted in any medium without royalty provided the copyright no‐
52 tice and this notice are preserved.
53
55 The full documentation for gnutls is maintained as a Texinfo manual.
56 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
57 visit
58
59 https://www.gnutls.org/manual/
60
61gnutls 3.7.2 gnutls_x509_aia_set(3)