Blame doc/functions/gnutls_subject_alt_names_get
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@deftypefun {int} {gnutls_subject_alt_names_get} (gnutls_subject_alt_names_t @var{sans}, unsigned int @var{seq}, unsigned int * @var{san_type}, gnutls_datum_t * @var{san}, gnutls_datum_t * @var{othername_oid})
|
|
Packit |
aea12f |
@var{sans}: The alternative names
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{seq}: The index of the name to get
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{san_type}: Will hold the type of the name (of @code{gnutls_subject_alt_names_t} )
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{san}: The alternative name data (should be treated as constant)
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@var{othername_oid}: The object identifier if @code{san_type} is @code{GNUTLS_SAN_OTHERNAME} (should be treated as constant)
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
This function will return a specific alternative name as stored in
|
|
Packit |
aea12f |
the @code{sans} type. The returned values should be treated as constant
|
|
Packit |
aea12f |
and valid for the lifetime of @code{sans} .
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, @code{GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE}
|
|
Packit |
aea12f |
if the index is out of bounds, otherwise a negative error value.
|
|
Packit |
aea12f |
|
|
Packit |
aea12f |
@strong{Since:} 3.3.0
|
|
Packit |
aea12f |
@end deftypefun
|