gnutls_x509_crq_set_version3
Api function
Usage
#include <gnutls/x509.h>
int gnutls_x509_crq_set_version(gnutls_x509_crq_t crq, unsigned int version);
Arguments
gnutls_x509_crq_t crq
|
should contain a |
|---|---|
unsigned int version
|
holds the version number, for v1 Requests must be 1 |
Overview
This function will set the version of the certificate request. For version 1 requests this must be one.
Returns
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value.
Releases
10 releases since Debian 4.0 (Etch); the text changed 9 times.