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 a negative error code.
48

SINCE

50       2.4.0
51

REPORTING BUGS

53       Report bugs to <bugs@gnutls.org>.
54       Home page: http://www.gnutls.org
55
56
58       Copyright © 2001-2014 Free Software Foundation, Inc..
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 /usr/share/doc/gnutls/ directory does not contain the HTML form
66       visit
67
68       http://www.gnutls.org/manual/
69
70gnutls                         gnutl3s._3o.p2e9npgp_privkey_export_subkey_rsa_raw(3)
Impressum