1gnutls_x509_aia_set(3)              gnutls              gnutls_x509_aia_set(3)
2
3
4

NAME

6       gnutls_x509_aia_set - API function
7

SYNOPSIS

9       #include <gnutls/x509-ext.h>
10
11       int   gnutls_x509_aia_set(gnutls_x509_aia_t  aia,  const  char  *  oid,
12       unsigned san_type, const gnutls_datum_t * san);
13

ARGUMENTS

15       gnutls_x509_aia_t aia
16                   The authority info access structure
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

DESCRIPTION

28       This function will store the specified alternative  name  in  the   aia
29       structure.
30
31       Typically   the   value  for   oid  should  be  GNUTLS_OID_AD_OCSP,  or
32       GNUTLS_OID_AD_CAISSUERS.
33

RETURNS

35       On success, GNUTLS_E_SUCCESS (0), otherwise a negative error value.
36

SINCE

38       3.3.0
39

REPORTING BUGS

41       Report bugs to <bugs@gnutls.org>.
42       Home page: http://www.gnutls.org
43
44
46       Copyright © 2001-2014 Free Software Foundation, Inc..
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

SEE ALSO

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                              3.3.29              gnutls_x509_aia_set(3)
Impressum