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  -  return  the subkey's
7       PublicKey algorithm
8

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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

RETURNS

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

SINCE

40       2.4.0
41

REPORTING BUGS

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

SEE ALSO

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