1gnutls_openpgp_privkey_export_sugbnkuetyl_gsrn_suoatp_lersnapwg(p3_)privkey_export_subkey_rsa_raw(3)
2
3
4

NAME

6       gnutls_openpgp_privkey_export_subkey_rsa_raw  -  export the RSA private
7       key
8

SYNOPSIS

10       #include <gnutls/openpgp.h>
11
12       int                                  gnutls_openpgp_privkey_export_sub‐
13       key_rsa_raw(gnutls_openpgp_privkey_t    pkey,    unsigned    int   idx,
14       gnutls_datum_t  *  m,  gnutls_datum_t  *   e,   gnutls_datum_t   *   d,
15       gnutls_datum_t * p, gnutls_datum_t * q, gnutls_datum_t * u);
16

ARGUMENTS

18       gnutls_openpgp_privkey_t pkey
19                   Holds the certificate
20
21       unsigned int idx
22                   Is the subkey index
23
24       gnutls_datum_t * m
25                   will hold the modulus
26
27       gnutls_datum_t * e
28                   will hold the public exponent
29
30       gnutls_datum_t * d
31                   will hold the private exponent
32
33       gnutls_datum_t * p
34                   will hold the first prime (p)
35
36       gnutls_datum_t * q
37                   will hold the second prime (q)
38
39       gnutls_datum_t * u
40                   will hold the coefficient
41

DESCRIPTION

43       This function will export the RSA private key's parameters found in the
44       given  structure.   The  new  parameters  will   be   allocated   using
45       gnutls_malloc() and will be stored in the appropriate datum.
46

RETURNS

48       GNUTLS_E_SUCCESS on success, otherwise an error.
49

SINCE

51       2.4.0
52

REPORTING BUGS

54       Report    bugs    to    <bug-gnutls@gnu.org>.     GnuTLS   home   page:
55       http://www.gnu.org/software/gnutls/ General help  using  GNU  software:
56       http://www.gnu.org/gethelp/
57
59       Copyright © 2008 Free Software Foundation.
60       Copying  and  distribution  of this file, with or without modification,
61       are permitted in any medium  without  royalty  provided  the  copyright
62       notice and this notice are preserved.
63

SEE ALSO

65       The  full  documentation  for gnutls is maintained as a Texinfo manual.
66       If the info and gnutls programs are properly installed  at  your  site,
67       the command
68
69              info gnutls
70
71       should give you access to the complete manual.
72
73
74
75gnutls                         gnutls2_.o8p.e6npgp_privkey_export_subkey_rsa_raw(3)
Impressum