1gnutls_rsa_params_import_raw(3) gnutls gnutls_rsa_params_import_raw(3)
2
3
4
6 gnutls_rsa_params_import_raw - API function
7
9 #include <gnutls/compat.h>
10
11 int gnutls_rsa_params_import_raw(gnutls_rsa_params_t rsa_params, const
12 gnutls_datum_t * m, const gnutls_datum_t * e, const gnutls_datum_t * d,
13 const gnutls_datum_t * p, const gnutls_datum_t * q, const
14 gnutls_datum_t * u);
15
17 gnutls_rsa_params_t rsa_params
18 Is a structure will hold the parameters
19
20 const gnutls_datum_t * m
21 holds the modulus
22
23 const gnutls_datum_t * e
24 holds the public exponent
25
26 const gnutls_datum_t * d
27 holds the private exponent
28
29 const gnutls_datum_t * p
30 holds the first prime (p)
31
32 const gnutls_datum_t * q
33 holds the second prime (q)
34
35 const gnutls_datum_t * u
36 holds the coefficient
37
39 This function will replace the parameters in the given structure. The
40 new parameters should be stored in the appropriate gnutls_datum.
41
43 GNUTLS_E_SUCCESS on success, or an negative error code.
44
46 Report bugs to <bugs@gnutls.org>.
47 Home page: http://www.gnutls.org
48
49
51 Copyright © 2001-2014 Free Software Foundation, Inc..
52 Copying and distribution of this file, with or without modification,
53 are permitted in any medium without royalty provided the copyright
54 notice and this notice are preserved.
55
57 The full documentation for gnutls is maintained as a Texinfo manual.
58 If the /usr/share/doc/gnutls/ directory does not contain the HTML form
59 visit
60
61 http://www.gnutls.org/manual/
62
63gnutls 3.3.29 gnutls_rsa_params_import_raw(3)