1gnutls_rsa_params_import_raw(3) gnutls gnutls_rsa_params_import_raw(3)
2
3
4
6 gnutls_rsa_params_import_raw - This function will replace the old RSA
7 parameters
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_rsa_params_import_raw(gnutls_rsa_params_t rsa_params, const
13 gnutls_datum_t * m, const gnutls_datum_t * e, const gnutls_datum_t * d,
14 const gnutls_datum_t * p, const gnutls_datum_t * q, const
15 gnutls_datum_t * u);
16
18 gnutls_rsa_params_t rsa_params
19 Is a structure will hold the parameters
20
21 const gnutls_datum_t * m
22 holds the modulus
23
24 const gnutls_datum_t * e
25 holds the public exponent
26
27 const gnutls_datum_t * d
28 holds the private exponent
29
30 const gnutls_datum_t * p
31 holds the first prime (p)
32
33 const gnutls_datum_t * q
34 holds the second prime (q)
35
36 const gnutls_datum_t * u
37 holds the coefficient
38
40 This function will replace the parameters in the given structure. The
41 new parameters should be stored in the appropriate gnutls_datum.
42
44 Report bugs to <bug-gnutls@gnu.org>.
45
47 Copyright © 2006 Free Software Foundation.
48 Permission is granted to make and distribute verbatim copies of this
49 manual provided the copyright notice and this permission notice are
50 preserved on all copies.
51
53 The full documentation for gnutls is maintained as a Texinfo manual.
54 If the info and gnutls programs are properly installed at your site,
55 the command
56
57 info gnutls
58
59 should give you access to the complete manual.
60
61
62
63gnutls 1.6.3 gnutls_rsa_params_import_raw(3)