gnutls_x509_tlsfeatures_get3
Api function
Usage
#include <gnutls/x509.h>
int gnutls_x509_tlsfeatures_get(gnutls_x509_tlsfeatures_t f, unsigned idx, unsigned int * feature);
Arguments
gnutls_x509_tlsfeatures_t f
|
The TLS features |
|---|---|
unsigned idx
|
The index of the feature to get |
unsigned int * feature
|
If the function succeeds, the feature will be stored in this variable |
Overview
This function will get a feature from the X.509 TLS features extension structure.
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Since
3.5.1
Releases
6 releases since Debian 9 (Stretch); the text changed 5 times.