1
.\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2
.TH "gnutls_openpgp_privkey_set_preferred_key_id" 3 "2.4.0" "gnutls" "gnutls"
4
gnutls_openpgp_privkey_set_preferred_key_id \- Set the prefered keyID
6
.B #include <gnutls/openpgp.h>
8
.BI "int gnutls_openpgp_privkey_set_preferred_key_id(gnutls_openpgp_privkey_t " key ", const gnutls_openpgp_keyid_t " keyid ");"
10
.IP "gnutls_openpgp_privkey_t key" 12
11
the structure that contains the OpenPGP public key.
12
.IP "const gnutls_openpgp_keyid_t keyid" 12
15
This allows setting a preferred key id for the given certificate.
16
This key will be used by functions that involve key handling.
18
On success, 0 is returned, or an error code.
20
Report bugs to <bug-gnutls@gnu.org>.
22
Copyright \(co 2008 Free Software Foundation.
24
Permission is granted to make and distribute verbatim copies of this
25
manual provided the copyright notice and this permission notice are
26
preserved on all copies.
28
The full documentation for
30
is maintained as a Texinfo manual. If the
34
programs are properly installed at your site, the command
38
should give you access to the complete manual.