summaryrefslogtreecommitdiffstats
path: root/doc/functions/gnutls_certificate_set_dh_params
diff options
context:
space:
mode:
Diffstat (limited to 'doc/functions/gnutls_certificate_set_dh_params')
-rw-r--r--doc/functions/gnutls_certificate_set_dh_params19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc/functions/gnutls_certificate_set_dh_params b/doc/functions/gnutls_certificate_set_dh_params
new file mode 100644
index 0000000..4fb8ea2
--- /dev/null
+++ b/doc/functions/gnutls_certificate_set_dh_params
@@ -0,0 +1,19 @@
+
+
+
+
+@deftypefun {void} {gnutls_certificate_set_dh_params} (gnutls_certificate_credentials_t @var{res}, gnutls_dh_params_t @var{dh_params})
+@var{res}: is a gnutls_certificate_credentials_t type
+
+@var{dh_params}: the Diffie-Hellman parameters.
+
+This function will set the Diffie-Hellman parameters for a
+certificate server to use. These parameters will be used in
+Ephemeral Diffie-Hellman cipher suites. Note that only a pointer
+to the parameters are stored in the certificate handle, so you
+must not deallocate the parameters before the certificate is deallocated.
+
+@strong{Deprecated:} This function is unnecessary and discouraged on GnuTLS 3.6.0
+or later. Since 3.6.0, DH parameters are negotiated
+following RFC7919.
+@end deftypefun