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 <bugs@gnutls.org>.
32 Home page: http://www.gnutls.org
33
34
36 Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
44 visit
45
46 http://www.gnutls.org/manual/
47
48gnutls 3.3g.n2u9tls_openpgp_privkey_get_subkey_idx(3)