1gnutls_certificate_set_dh_params(3) gnutls gnutls_certificate_set_dh_params(3)
2
3
4

NAME

6       gnutls_certificate_set_dh_params - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       void  gnutls_certificate_set_dh_params(gnutls_certificate_credentials_t
12       res, gnutls_dh_params_t dh_params);
13

ARGUMENTS

15       gnutls_certificate_credentials_t res
16                   is a gnutls_certificate_credentials_t type
17
18       gnutls_dh_params_t dh_params
19                   the Diffie-Hellman parameters.
20

DESCRIPTION

22       This function will set the Diffie-Hellman parameters for a  certificate
23       server  to use. These parameters will be used in Ephemeral Diffie-Hell‐
24       man cipher suites.  Note that only a  pointer  to  the  parameters  are
25       stored in the certificate handle, so you must not deallocate the param‐
26       eters before the certificate is deallocated.
27

DEPRECATED

29       This function is unnecessary and discouraged on GnuTLS 3.6.0 or  later.
30       Since 3.6.0, DH parameters are negotiated following RFC7919.
31

REPORTING BUGS

33       Report bugs to <bugs@gnutls.org>.
34       Home page: http://www.gnutls.org
35
36
38       Copyright © 2001-2018 Free Software Foundation, Inc., and others.
39       Copying  and  distribution  of this file, with or without modification,
40       are permitted in any medium  without  royalty  provided  the  copyright
41       notice and this notice are preserved.
42

SEE ALSO

44       The  full  documentation  for gnutls is maintained as a Texinfo manual.
45       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
46       visit
47
48       http://www.gnutls.org/manual/
49
50gnutls                               3.6.5 gnutls_certificate_set_dh_params(3)
Impressum