1gnutls_openpgp_privkey_set_prefergrneudt_glknseu_yto_lpisedn(p3g)p_privkey_set_preferred_key_id(3)
2
3
4

NAME

6       gnutls_openpgp_privkey_set_preferred_key_id - API function
7

SYNOPSIS

9       #include <gnutls/openpgp.h>
10
11       int                                     gnutls_openpgp_privkey_set_pre‐
12       ferred_key_id(gnutls_openpgp_privkey_t            key,            const
13       gnutls_openpgp_keyid_t          keyid);
14

ARGUMENTS

16       gnutls_openpgp_privkey_t key
17                   the structure that contains the OpenPGP public key.
18
19       const gnutls_openpgp_keyid_t          keyid
20                   the selected keyid
21

DESCRIPTION

23       This allows setting a preferred key id for the given certificate.  This
24       key will be used by functions that involve key handling.
25
26       If the provided  keyid is NULL then the master key is set as preferred.
27

RETURNS

29       On success, GNUTLS_E_SUCCESS (0)  is  returned,  otherwise  a  negative
30       error code is returned.
31

REPORTING BUGS

33       Report bugs to <bugs@gnutls.org>.
34       Home page: http://www.gnutls.org
35
36
38       Copyright © 2001-2014 Free Software Foundation, Inc..
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium  without  royalty  provided  the  copyright
41       notice and this notice are preserved.
42

SEE ALSO

44       The  full  documentation  for gnutls is maintained as a Texinfo manual.
45       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
46       visit
47
48       http://www.gnutls.org/manual/
49
50gnutls                          gnut3l.s3_.o2p9enpgp_privkey_set_preferred_key_id(3)
Impressum