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 - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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

RETURNS

34       GNUTLS_E_SUCCESS on success, or an error code.
35

REPORTING BUGS

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

SEE ALSO

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