1gnutls_openpgp_privkey_get_prefergrneudt_glknseu_yto_lpisedn(p3g)p_privkey_get_preferred_key_id(3)
2
3
4
6 gnutls_openpgp_privkey_get_preferred_key_id - Gets the preferred keyID
7
9 #include <gnutls/openpgp.h>
10
11 int gnutls_openpgp_privkey_get_pre‐
12 ferred_key_id(gnutls_openpgp_privkey_t key, gnutls_openpgp_keyid_t
13 keyid);
14
16 gnutls_openpgp_privkey_t key
17 the structure that contains the OpenPGP public key.
18
19 gnutls_openpgp_keyid_t keyid
20 the struct to save the keyid.
21
23 Get the preferred key-id for the key.
24
26 the 64-bit preferred keyID of the OpenPGP key, or if it hasn't been set
27 it returns GNUTLS_E_INVALID_REQUEST.
28
30 Report bugs to <bug-gnutls@gnu.org>. GnuTLS home page:
31 http://www.gnu.org/software/gnutls/ General help using GNU software:
32 http://www.gnu.org/gethelp/
33
35 Copyright © 2008 Free Software Foundation.
36 Copying and distribution of this file, with or without modification,
37 are permitted in any medium without royalty provided the copyright
38 notice and this notice are preserved.
39
41 The full documentation for gnutls is maintained as a Texinfo manual.
42 If the info and gnutls programs are properly installed at your site,
43 the command
44
45 info gnutls
46
47 should give you access to the complete manual.
48
49
50
51gnutls gnutl2s._8o.p6enpgp_privkey_get_preferred_key_id(3)