1gnutls_x509_crt_set_version(3)      gnutls      gnutls_x509_crt_set_version(3)
2
3
4

NAME

6       gnutls_x509_crt_set_version  -  This  function will set the Certificate
7       request version
8

SYNOPSIS

10       #include <gnutls/x509.h>
11
12       int  gnutls_x509_crt_set_version(gnutls_x509_crt_t  crt,  unsigned  int
13       version);
14

ARGUMENTS

16       gnutls_x509_crt_t crt
17                   should contain a gnutls_x509_crt_t structure
18
19       unsigned int version
20                   holds  the version number. For X.509v1 certificates must be
21                   1.
22

DESCRIPTION

24       This function will set the version of the certificate. This must be one
25       for  X.509  version 1, and so on. Plain certificates without extensions
26       must have version set to one.
27
28       Returns 0 on success.
29

REPORTING BUGS

31       Report bugs to <bug-gnutls@gnu.org>.
32
34       Copyright © 2006 Free Software Foundation.
35       Permission is granted to make and distribute verbatim  copies  of  this
36       manual  provided  the  copyright  notice and this permission notice are
37       preserved on all copies.
38

SEE ALSO

40       The full documentation for gnutls is maintained as  a  Texinfo  manual.
41       If  the  info  and gnutls programs are properly installed at your site,
42       the command
43
44              info gnutls
45
46       should give you access to the complete manual.
47
48
49
50gnutls                               1.6.3      gnutls_x509_crt_set_version(3)
Impressum