1gnutls_dh_params_import_raw(3) gnutls gnutls_dh_params_import_raw(3)
2
3
4
6 gnutls_dh_params_import_raw - This function will import DH parameters
7
9 #include <gnutls/gnutls.h>
10
11 int gnutls_dh_params_import_raw(gnutls_dh_params_t dh_params, const
12 gnutls_datum_t * prime, const gnutls_datum_t * generator);
13
15 gnutls_dh_params_t dh_params
16 Is a structure that will hold the prime numbers
17
18 const gnutls_datum_t * prime
19 holds the new prime
20
21 const gnutls_datum_t * generator
22 holds the new generator
23
25 This function will replace the pair of prime and generator for use in
26 the Diffie-Hellman key exchange. The new parameters should be stored in
27 the appropriate gnutls_datum.
28
30 Report bugs to <bug-gnutls@gnu.org>.
31
33 Copyright © 2006 Free Software Foundation.
34 Permission is granted to make and distribute verbatim copies of this
35 manual provided the copyright notice and this permission notice are
36 preserved on all copies.
37
39 The full documentation for gnutls is maintained as a Texinfo manual.
40 If the info and gnutls programs are properly installed at your site,
41 the command
42
43 info gnutls
44
45 should give you access to the complete manual.
46
47
48
49gnutls 1.6.3 gnutls_dh_params_import_raw(3)