1 .\" DO NOT MODIFY THIS FILE! It was generated by gdoc.
2 .TH "gnutls_x509_privkey_export_rsa_raw" 3 "2.12.6.1" "gnutls" "gnutls"
4 gnutls_x509_privkey_export_rsa_raw \- API function
6 .B #include <gnutls/x509.h>
8 .BI "int gnutls_x509_privkey_export_rsa_raw(gnutls_x509_privkey_t " key ", gnutls_datum_t * " m ", gnutls_datum_t * " e ", gnutls_datum_t * " d ", gnutls_datum_t * " p ", gnutls_datum_t * " q ", gnutls_datum_t * " u ");"
10 .IP "gnutls_x509_privkey_t key" 12
11 a structure that holds the rsa parameters
12 .IP "gnutls_datum_t * m" 12
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
25 This function will export the RSA private key's parameters found
26 in the given structure. The new parameters will be allocated using
27 \fBgnutls_malloc()\fP and will be stored in the appropriate datum.
29 On success, \fBGNUTLS_E_SUCCESS\fP is returned, otherwise a
32 Report bugs to <bug-gnutls@gnu.org>.
33 GnuTLS home page: http://www.gnu.org/software/gnutls/
34 General help using GNU software: http://www.gnu.org/gethelp/
36 Copyright \(co 2008 Free Software Foundation.
38 Copying and distribution of this file, with or without modification,
39 are permitted in any medium without royalty provided the copyright
40 notice and this notice are preserved.
42 The full documentation for
44 is maintained as a Texinfo manual. If the
48 programs are properly installed at your site, the command
52 should give you access to the complete manual.