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