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 <bugs@gnutls.org>.
42       Home page: http://www.gnutls.org
43
44
46       Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML  form
54       visit
55
56       http://www.gnutls.org/manual/
57
58gnutls                           gnu3t.l3s._2o9penpgp_crt_get_subkey_pk_algorithm(3)
Impressum