Blame doc/functions/gnutls_x509_ext_import_subject_alt_names
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_ext_import_subject_alt_names} (const gnutls_datum_t * @var{ext}, gnutls_subject_alt_names_t @var{sans}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{ext}: The DER-encoded extension data
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{sans}: The alternative names
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: should be zero
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will export the alternative names in the provided DER-encoded
|
|
Packit Service |
4684c1 |
SubjectAltName PKIX extension, to a @code{gnutls_subject_alt_names_t} type. @code{sans} must be initialized.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will succeed even if there no subject alternative names
|
|
Packit Service |
4684c1 |
in the structure.
|
|
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
|