1gnutls_x509_crq_set_version(3) gnutls gnutls_x509_crq_set_version(3)
2
3
4
6 gnutls_x509_crq_set_version - This function will set the Certificate
7 request version
8
10 #include <gnutls/x509.h>
11
12 int gnutls_x509_crq_set_version(gnutls_x509_crq_t crq, unsigned int
13 version);
14
16 gnutls_x509_crq_t crq
17 should contain a gnutls_x509_crq_t structure
18
19 unsigned int version
20 holds the version number. For v1 Requests must be 1.
21
23 This function will set the version of the certificate request. For ver‐
24 sion 1 requests this must be one.
25
27 On success, GNUTLS_E_SUCCESS is returned, otherwise a negative error
28 value.
29
31 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
32 http://www.gnu.org/software/gnutls/ General help using GNU software:
33 http://www.gnu.org/gethelp/
34
36 Copyright © 2008 Free Software Foundation.
37 Copying and distribution of this file, with or without modification,
38 are permitted in any medium without royalty provided the copyright
39 notice and this notice are preserved.
40
42 The full documentation for gnutls is maintained as a Texinfo manual.
43 If the info and gnutls programs are properly installed at your site,
44 the command
45
46 info gnutls
47
48 should give you access to the complete manual.
49
50
51
52gnutls 2.8.6 gnutls_x509_crq_set_version(3)