gnutls_x509_crt_set_crq_extension_by_oid3
Api function
Usage
#include <gnutls/x509.h>
int gnutls_x509_crt_set_crq_extension_by_oid(gnutls_x509_crt_t crt, gnutls_x509_crq_t crq, const char * oid, unsigned flags);
Arguments
gnutls_x509_crt_t crt
|
a certificate of type |
|---|---|
gnutls_x509_crq_t crq
|
holds a certificate request |
const char * oid
|
the object identifier of the OID to copy |
unsigned flags
|
should be zero |
Overview
This function will set the extension specify by oid from the given request to the certificate.
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.