1gnutls_x509_crt_get_version(3) gnutls gnutls_x509_crt_get_version(3)
2
3
4
6 gnutls_x509_crt_get_version - return the Certificate's version number
7
9 #include <gnutls/x509.h>
10
11 int gnutls_x509_crt_get_version(gnutls_x509_crt_t cert);
12
14 gnutls_x509_crt_t cert
15 should contain a gnutls_x509_crt_t structure
16
18 This function will return the version of the specified Certificate.
19
21 version of certificate, or a negative value on error.
22
24 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
25 http://www.gnu.org/software/gnutls/ General help using GNU software:
26 http://www.gnu.org/gethelp/
27
29 Copyright © 2008 Free Software Foundation.
30 Copying and distribution of this file, with or without modification,
31 are permitted in any medium without royalty provided the copyright
32 notice and this notice are preserved.
33
35 The full documentation for gnutls is maintained as a Texinfo manual.
36 If the info and gnutls programs are properly installed at your site,
37 the command
38
39 info gnutls
40
41 should give you access to the complete manual.
42
43
44
45gnutls 2.8.6 gnutls_x509_crt_get_version(3)