Debian Codegraph @

doc/functions/gnutls_certificate_set_dh_params

raw
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
10 This function will set the Diffie-Hellman parameters for a
11 certificate server to use. These parameters will be used in
12 Ephemeral Diffie-Hellman cipher suites. Note that only a pointer
13 to the parameters are stored in the certificate handle, so you
14 must not deallocate the parameters before the certificate is deallocated.
15
16 @strong{Deprecated:} This function is unnecessary and discouraged on GnuTLS 3.6.0
17 or later. Since 3.6.0, DH parameters are negotiated
18 following RFC7919.
19 @end deftypefun