1gnutls_openpgp_privkey_get_subkey_idxg(n3ug)tnlustls_openpgp_privkey_get_subkey_idx(3)
2
3
4
6 gnutls_openpgp_privkey_get_subkey_idx - API function
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_privkey_get_subkey_idx(gnutls_openpgp_privkey_t key,
12 const gnutls_openpgp_keyid_t keyid);
13
15 gnutls_openpgp_privkey_t key
16 the structure that contains the OpenPGP private key.
17
18 const gnutls_openpgp_keyid_t keyid
19 the keyid.
20
22 Get index of subkey.
23
25 the index of the subkey or a negative error value.
26
28 2.4.0
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.12g.n6u.t1ls_openpgp_privkey_get_subkey_idx(3)