1gnutls_rsa_params_generate2(3) gnutls gnutls_rsa_params_generate2(3)
2
3
4
6 gnutls_rsa_params_generate2 - This function will generate temporary RSA
7 parameters
8
10 #include <gnutls/gnutls.h>
11
12 int gnutls_rsa_params_generate2(gnutls_rsa_params_t params, unsigned
13 int bits);
14
16 gnutls_rsa_params_t params
17 The structure where the parameters will be stored
18
19 unsigned int bits
20 is the prime's number of bits
21
23 This function will generate new temporary RSA parameters for use in
24 RSA-EXPORT ciphersuites. This function is normally slow.
25
26 Note that if the parameters are to be used in export cipher suites the
27 bits value should be 512 or less. Also note that the generation of new
28 RSA parameters is only useful to servers. Clients use the parameters
29 sent by the server, thus it's no use calling this in client side.
30
32 Report bugs to <bug-gnutls@gnu.org>.
33
35 Copyright © 2006 Free Software Foundation.
36 Permission is granted to make and distribute verbatim copies of this
37 manual provided the copyright notice and this permission notice are
38 preserved on all copies.
39
41 The full documentation for gnutls is maintained as a Texinfo manual.
42 If the info and gnutls programs are properly installed at your site,
43 the command
44
45 info gnutls
46
47 should give you access to the complete manual.
48
49
50
51gnutls 1.6.3 gnutls_rsa_params_generate2(3)