1
2
3
4
5@deftypefun {void} {gnutls_certificate_set_dh_params} (gnutls_certificate_credentials_t @var{res}, gnutls_dh_params_t @var{dh_params})
6@var{res}: is a gnutls_certificate_credentials_t type
7
8@var{dh_params}: the Diffie-Hellman parameters.
9
10This function will set the Diffie-Hellman parameters for a
11certificate server to use. These parameters will be used in
12Ephemeral Diffie-Hellman cipher suites.  Note that only a pointer
13to the parameters are stored in the certificate handle, so you
14must not deallocate the parameters before the certificate is deallocated.
15
16@strong{Deprecated:} This function is unnecessary and discouraged on GnuTLS 3.6.0
17or later. Since 3.6.0, DH parameters are negotiated
18following RFC7919.
19@end deftypefun
20