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 - API function
7

SYNOPSIS

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

ARGUMENTS

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

DESCRIPTION

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

RETURNS

47       GNUTLS_E_SUCCESS on success, otherwise an error.
48

SINCE

50       2.4.0
51

REPORTING BUGS

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

SEE ALSO

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