Blame doc/functions/gnutls_x509_aia_get
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_aia_get} (gnutls_x509_aia_t @var{aia}, unsigned int @var{seq}, gnutls_datum_t * @var{oid}, unsigned * @var{san_type}, gnutls_datum_t * @var{san})
|
|
Packit Service |
4684c1 |
@var{aia}: The authority info access
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{seq}: specifies the sequence number of the access descriptor (0 for the first one, 1 for the second etc.)
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{oid}: the type of available data; to be treated as constant.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{san_type}: Will hold the type of the name of @code{gnutls_subject_alt_names_t} (may be null).
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{san}: the access location name; to be treated as constant (may be null).
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function reads from the Authority Information Access type.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The @code{seq} input parameter is used to indicate which member of the
|
|
Packit Service |
4684c1 |
sequence the caller is interested in. The first member is 0, the
|
|
Packit Service |
4684c1 |
second member 1 and so on. When the @code{seq} value is out of bounds,
|
|
Packit Service |
4684c1 |
@code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE} is returned.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
Typically @code{oid} is @code{GNUTLS_OID_AD_CAISSUERS} or @code{GNUTLS_OID_AD_OCSP} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a negative error value.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Since:} 3.3.0
|
|
Packit Service |
4684c1 |
@end deftypefun
|