Blame doc/functions/gnutls_x509_ext_import_tlsfeatures
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@deftypefun {int} {gnutls_x509_ext_import_tlsfeatures} (const gnutls_datum_t * @var{ext}, gnutls_x509_tlsfeatures_t @var{f}, unsigned int @var{flags})
|
|
Packit Service |
4684c1 |
@var{ext}: The DER-encoded extension data
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{f}: The features structure
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
@var{flags}: zero or @code{GNUTLS_EXT_FLAG_APPEND}
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
This function will export the features in the provided DER-encoded
|
|
Packit Service |
4684c1 |
TLS Features PKIX extension, to a @code{gnutls_x509_tlsfeatures_t} type. @code{f} must be initialized.
|
|
Packit Service |
4684c1 |
|
|
Packit Service |
4684c1 |
When the @code{flags} is set to @code{GNUTLS_EXT_FLAG_APPEND} ,
|
|
Packit Service |
4684c1 |
then if the @code{features} structure is empty this function will behave
|
|
Packit Service |
4684c1 |
identically as if the flag was not set. Otherwise if there are elements
|
|
Packit Service |
4684c1 |
in the @code{features} structure then they will be merged with.
|
|
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.5.1
|
|
Packit Service |
4684c1 |
@end deftypefun
|