gnutls_x509_crt_set_tlsfeatures3
Api function
Usage
#include <gnutls/x509.h>
int gnutls_x509_crt_set_tlsfeatures(gnutls_x509_crt_t crt, gnutls_x509_tlsfeatures_t features);
Arguments
gnutls_x509_crt_t crt
|
A X.509 certificate |
|---|---|
gnutls_x509_tlsfeatures_t features
|
If the function succeeds, the features will be added to the certificate. |
Overview
This function will set the certificates X.509 TLS extension from the given 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.