1gnutls_openpgp_crt_get_subkey_pk_aglnguogtrnliustt_hlomsp(e3n)pgp_crt_get_subkey_pk_algorithm(3)
2
3
4

NAME

6       gnutls_openpgp_crt_get_subkey_pk_algorithm - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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

RETURNS

34       a member  of  the  gnutls_pk_algorithm_t  enumeration  on  success,  or
35       GNUTLS_PK_UNKNOWN on error.
36

SINCE

38       2.4.0
39

REPORTING BUGS

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

SEE ALSO

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