1gnutls_openpgp_privkey_get_subgkneuyt_lpsk__goanpluegtnolprsgipt_hpmr(i3v)key_get_subkey_pk_algorithm(3)
2
3
4

NAME

6       gnutls_openpgp_privkey_get_subkey_pk_algorithm - API function
7

SYNOPSIS

9       #include <gnutls/openpgp.h>
10
11       gnutls_pk_algorithm_t        gnutls_openpgp_privkey_get_subkey_pk_algo‐
12       rithm(gnutls_openpgp_privkey_t key, unsigned int idx,  unsigned  int  *
13       bits);
14

ARGUMENTS

16       gnutls_openpgp_privkey_t key
17                   is an OpenPGP key
18
19       unsigned int idx
20                   is the subkey index
21
22       unsigned int * bits
23                   if  bits  is  non null it will hold the size of the parame‐
24                   ters' in bits
25

DESCRIPTION

27       This function will return the public key algorithm of a  subkey  of  an
28       OpenPGP certificate.
29
30       If  bits is non null, it should have enough size to hold the parameters
31       size in bits. For RSA the bits returned is the modulus.   For  DSA  the
32       bits returned are of the public exponent.
33

RETURNS

35       a member of the gnutls_pk_algorithm_t enumeration on success, or a neg‐
36       ative value on error.
37

SINCE

39       2.4.0
40

REPORTING BUGS

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

SEE ALSO

53       The full documentation for gnutls is maintained as  a  Texinfo  manual.
54       If  the  info  and gnutls programs are properly installed at your site,
55       the command
56
57              info gnutls
58
59       should give you access to the complete manual.
60
61
62
63gnutls                       gnutls2_.o1p2e.n6p.g1p_privkey_get_subkey_pk_algorithm(3)
Impressum