1gnutls_openpgp_crt_get_subkey_count(3g)nutlgsnutls_openpgp_crt_get_subkey_count(3)
2
3
4
6 gnutls_openpgp_crt_get_subkey_count - return the number of subkeys
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_crt_get_subkey_count(gnutls_openpgp_crt_t key);
12
14 gnutls_openpgp_crt_t key
15 is an OpenPGP key
16
18 This function will return the number of subkeys present in the given
19 OpenPGP certificate.
20
22 the number of subkeys, or a negative value on error.
23
25 2.4.0
26
28 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
29 http://www.gnu.org/software/gnutls/ General help using GNU software:
30 http://www.gnu.org/gethelp/
31
33 Copyright © 2008 Free Software Foundation.
34 Copying and distribution of this file, with or without modification,
35 are permitted in any medium without royalty provided the copyright
36 notice and this notice are preserved.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 2.8.g6nutls_openpgp_crt_get_subkey_count(3)