1gnutls_rsa_params_export_raw(3) gnutls gnutls_rsa_params_export_raw(3)
2
3
4
6 gnutls_rsa_params_export_raw - This function will export the RSA param‐
7 eters
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_rsa_params_export_raw(gnutls_rsa_params_t params,
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, unsigned
15 int * bits);
16
18 gnutls_rsa_params_t params
19 a structure that holds the rsa parameters
20
21 gnutls_datum_t * m
22 will hold the modulus
23
24 gnutls_datum_t * e
25 will hold the public exponent
26
27 gnutls_datum_t * d
28 will hold the private exponent
29
30 gnutls_datum_t * p
31 will hold the first prime (p)
32
33 gnutls_datum_t * q
34 will hold the second prime (q)
35
36 gnutls_datum_t * u
37 will hold the coefficient
38
39 unsigned int * bits
40 if non null will hold the prime's number of bits
41
43 This function will export the RSA parameters found in the given struc‐
44 ture. The new parameters will be allocated using gnutls_malloc() and
45 will be stored in the appropriate datum.
46
48 Report bugs to <bug-gnutls@gnu.org>.
49
51 Copyright © 2006 Free Software Foundation.
52 Permission is granted to make and distribute verbatim copies of this
53 manual provided the copyright notice and this permission notice are
54 preserved on all copies.
55
57 The full documentation for gnutls is maintained as a Texinfo manual.
58 If the info and gnutls programs are properly installed at your site,
59 the command
60
61 info gnutls
62
63 should give you access to the complete manual.
64
65
66
67gnutls 1.6.3 gnutls_rsa_params_export_raw(3)