1gnutls_openpgp_crt_get_auth_subkey(3)gnutlsgnutls_openpgp_crt_get_auth_subkey(3)
2
3
4

NAME

6       gnutls_openpgp_crt_get_auth_subkey  -  Gets the keyID of an authentica‐
7       tion subkey
8

SYNOPSIS

10       #include <gnutls/openpgp.h>
11
12       int    gnutls_openpgp_crt_get_auth_subkey(gnutls_openpgp_crt_t     crt,
13       gnutls_openpgp_keyid_t keyid, unsigned int flag);
14

ARGUMENTS

16       gnutls_openpgp_crt_t crt
17                   the structure that contains the OpenPGP public key.
18
19       gnutls_openpgp_keyid_t keyid
20                   the struct to save the keyid.
21
22       unsigned int flag
23                   Non zero indicates that a valid subkey is always returned.
24

DESCRIPTION

26       Returns  the  64-bit keyID of the first valid OpenPGP subkey marked for
27       authentication.  If flag is  non  zero  and  no  authentication  subkey
28       exists,  then  a valid subkey will be returned even if it is not marked
29       for authentication.  Returns  the  64-bit  keyID  of  the  first  valid
30       OpenPGP  subkey  marked for authentication.  If flag is non zero and no
31       authentication subkey exists, then a valid subkey will be returned even
32       if it is not marked for authentication.
33

RETURNS

35       GNUTLS_E_SUCCESS on success, or an error code.
36

REPORTING BUGS

38       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
39       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
40       http://www.gnu.org/gethelp/
41
43       Copyright © 2008 Free Software Foundation.
44       Copying  and  distribution  of this file, with or without modification,
45       are permitted in any medium  without  royalty  provided  the  copyright
46       notice and this notice are preserved.
47

SEE ALSO

49       The  full  documentation  for gnutls is maintained as a Texinfo manual.
50       If the info and gnutls programs are properly installed  at  your  site,
51       the command
52
53              info gnutls
54
55       should give you access to the complete manual.
56
57
58
59gnutls                               2.8.6gnutls_openpgp_crt_get_auth_subkey(3)
Impressum