1gnutls_x509_aia_get(3) gnutls gnutls_x509_aia_get(3)
2
3
4
6 gnutls_x509_aia_get - API function
7
9 #include <gnutls/x509-ext.h>
10
11 int gnutls_x509_aia_get(gnutls_x509_aia_t aia, unsigned int seq,
12 gnutls_datum_t * oid, unsigned * san_type, gnutls_datum_t * san);
13
15 gnutls_x509_aia_t aia
16 The authority info access structure
17
18 unsigned int seq
19 specifies the sequence number of the access descriptor (0
20 for the first one, 1 for the second etc.)
21
22 gnutls_datum_t * oid
23 the type of available data; to be treated as constant.
24
25 unsigned * san_type
26 Will hold the type of the name of gnutls_sub‐
27 ject_alt_names_t (may be null).
28
29 gnutls_datum_t * san
30 the access location name; to be treated as constant (may be
31 null).
32
34 This function reads from the Authority Information Access structure.
35
36 The seq input parameter is used to indicate which member of the
37 sequence the caller is interested in. The first member is 0, the sec‐
38 ond member 1 and so on. When the seq value is out of bounds,
39 GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE is returned.
40
41 Typically oid is GNUTLS_OID_AD_CAISSUERS or GNUTLS_OID_AD_OCSP.
42
44 On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative
45 error value.
46
48 3.3.0
49
51 Report bugs to <bugs@gnutls.org>.
52 Home page: http://www.gnutls.org
53
54
56 Copyright © 2001-2014 Free Software Foundation, Inc..
57 Copying and distribution of this file, with or without modification,
58 are permitted in any medium without royalty provided the copyright
59 notice and this notice are preserved.
60
62 The full documentation for gnutls is maintained as a Texinfo manual.
63 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
64 visit
65
66 http://www.gnutls.org/manual/
67
68gnutls 3.3.29 gnutls_x509_aia_get(3)