1gnutls_openpgp_crt_get_version(3) gnutls gnutls_openpgp_crt_get_version(3)
2
3
4
6 gnutls_openpgp_crt_get_version - API function
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_crt_get_version(gnutls_openpgp_crt_t key);
12
14 gnutls_openpgp_crt_t key
15 the structure that contains the OpenPGP public key.
16
18 Extract the version of the OpenPGP key.
19
21 the version number is returned, or a negative error code on errors.
22
24 Report bugs to <bugs@gnutls.org>.
25 Home page: http://www.gnutls.org
26
27
29 Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
37 visit
38
39 http://www.gnutls.org/manual/
40
41gnutls 3.3.29 gnutls_openpgp_crt_get_version(3)