Blame doc/functions/gnutls_x509_crt_set_subject_alternative_name
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_crt_set_subject_alternative_name} (gnutls_x509_crt_t @var{crt}, gnutls_x509_subject_alt_name_t @var{type}, const char * @var{data_string})
|
|
Packit Service |
4684c1 |
@var{crt}: a certificate of type @code{gnutls_x509_crt_t}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{type}: is one of the gnutls_x509_subject_alt_name_t enumerations
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{data_string}: The data to be set, a (0) terminated string
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will set the subject alternative name certificate
|
|
Packit Service |
4684c1 |
extension. This function assumes that data can be expressed as a null
|
|
Packit Service |
4684c1 |
terminated string.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
The name of the function is unfortunate since it is inconsistent with
|
|
Packit Service |
4684c1 |
@code{gnutls_x509_crt_get_subject_alt_name()} .
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
See @code{gnutls_x509_crt_set_subject_alt_name()} for more information.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@strong{Returns:} On success, @code{GNUTLS_E_SUCCESS} (0) is returned, otherwise a
|
|
Packit Service |
4684c1 |
negative error value.
|
|
Packit Service |
4684c1 |
@end deftypefun
|