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 - API function
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 <bugs@gnutls.org>.
31 Home page: http://www.gnutls.org
32
33
35 Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
43 visit
44
45 http://www.gnutls.org/manual/
46
47gnutls gnut3l.s3_.o2p9enpgp_privkey_get_preferred_key_id(3)