1gnutls_x509_crt_set_authority_info_gancgucnteulstssl_(sx35)09_crt_set_authority_info_access(3)
2
3
4
6 gnutls_x509_crt_set_authority_info_access - API function
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_set_authority_info_access(gnutls_x509_crt_t crt,
12 int what, gnutls_datum_t * data);
13
15 gnutls_x509_crt_t crt
16 Holds the certificate
17
18 int what what data to get, a gnutls_info_access_what_t type.
19
20 gnutls_datum_t * data
21 output data to be freed with gnutls_free().
22
24 This function sets the Authority Information Access (AIA) extension,
25 see RFC 5280 section 4.2.2.1 for more information.
26
27 The type of data stored in data is specified via what which should be
28 gnutls_info_access_what_t values.
29
30 If what is GNUTLS_IA_OCSP_URI, data will hold the OCSP URI. If what
31 is GNUTLS_IA_CAISSUERS_URI, data will hold the caIssuers URI.
32
34 On success, GNUTLS_E_SUCCESS [22m(0) is returned, otherwise a negative
35 error value.
36
38 3.0
39
41 Report bugs to <bugs@gnutls.org>.
42 Home page: http://www.gnutls.org
43
44
46 Copyright © 2001-2018 Free Software Foundation, Inc., and others.
47 Copying and distribution of this file, with or without modification,
48 are permitted in any medium without royalty provided the copyright
49 notice and this notice are preserved.
50
52 The full documentation for gnutls is maintained as a Texinfo manual.
53 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
54 visit
55
56 http://www.gnutls.org/manual/
57
58gnutls gnu3t.l6s._5x509_crt_set_authority_info_access(3)