Tizen 2.0 Release
[external/libgnutls26.git] / doc / manpages / gnutls_openpgp_privkey_export_subkey_rsa_raw.3
1 .\" DO NOT MODIFY THIS FILE!  It was generated by gdoc.
2 .TH "gnutls_openpgp_privkey_export_subkey_rsa_raw" 3 "2.12.6.1" "gnutls" "gnutls"
3 .SH NAME
4 gnutls_openpgp_privkey_export_subkey_rsa_raw \- API function
5 .SH SYNOPSIS
6 .B #include <gnutls/openpgp.h>
7 .sp
8 .BI "int gnutls_openpgp_privkey_export_subkey_rsa_raw(gnutls_openpgp_privkey_t " pkey ", unsigned int " idx ", gnutls_datum_t * " m ", gnutls_datum_t * " e ", gnutls_datum_t * " d ", gnutls_datum_t * " p ", gnutls_datum_t * " q ", gnutls_datum_t * " u ");"
9 .SH ARGUMENTS
10 .IP "gnutls_openpgp_privkey_t pkey" 12
11 Holds the certificate
12 .IP "unsigned int idx" 12
13 Is the subkey index
14 .IP "gnutls_datum_t * m" 12
15 will hold the modulus
16 .IP "gnutls_datum_t * e" 12
17 will hold the public exponent
18 .IP "gnutls_datum_t * d" 12
19 will hold the private exponent
20 .IP "gnutls_datum_t * p" 12
21 will hold the first prime (p)
22 .IP "gnutls_datum_t * q" 12
23 will hold the second prime (q)
24 .IP "gnutls_datum_t * u" 12
25 will hold the coefficient
26 .SH "DESCRIPTION"
27 This function will export the RSA private key's parameters found in
28 the given structure.  The new parameters will be allocated using
29 \fBgnutls_malloc()\fP and will be stored in the appropriate datum.
30 .SH "RETURNS"
31 \fBGNUTLS_E_SUCCESS\fP on success, otherwise an error.
32 .SH "SINCE"
33 2.4.0
34 .SH "REPORTING BUGS"
35 Report bugs to <bug-gnutls@gnu.org>.
36 GnuTLS home page: http://www.gnu.org/software/gnutls/
37 General help using GNU software: http://www.gnu.org/gethelp/
38 .SH COPYRIGHT
39 Copyright \(co 2008 Free Software Foundation.
40 .br
41 Copying and distribution of this file, with or without modification,
42 are permitted in any medium without royalty provided the copyright
43 notice and this notice are preserved.
44 .SH "SEE ALSO"
45 The full documentation for
46 .B gnutls
47 is maintained as a Texinfo manual.  If the
48 .B info
49 and
50 .B gnutls
51 programs are properly installed at your site, the command
52 .IP
53 .B info gnutls
54 .PP
55 should give you access to the complete manual.