1gnutls_anon_set_server_known_dh_paramgsng(un3tu)ltsls_anon_set_server_known_dh_params(3)
2
3
4

NAME

6       gnutls_anon_set_server_known_dh_params - API function
7

SYNOPSIS

9       #include <gnutls/gnutls.h>
10
11       int   gnutls_anon_set_server_known_dh_params(gnutls_anon_server_creden‐
12       tials_t res, gnutls_sec_param_t sec_param);
13

ARGUMENTS

15       gnutls_anon_server_credentials_t res
16                   is a gnutls_anon_server_credentials_t type
17
18       gnutls_sec_param_t sec_param
19                   is an option of the gnutls_sec_param_t enumeration
20

DESCRIPTION

22       This function will set the Diffie-Hellman parameters for  an  anonymous
23       server to use.  These parameters will be used in Anonymous Diffie-Hell‐
24       man cipher suites and will be selected from the FFDHE  set  of  RFC7919
25       according to the security level provided.
26

DEPRECATED

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

RETURNS

32       On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative  er‐
33       ror value.
34

SINCE

36       3.5.6
37

REPORTING BUGS

39       Report bugs to <bugs@gnutls.org>.
40       Home page: https://www.gnutls.org
41
42
44       Copyright © 2001- Free Software Foundation, Inc., and others.
45       Copying  and  distribution  of this file, with or without modification,
46       are permitted in any medium without royalty provided the copyright  no‐
47       tice and this notice are preserved.
48

SEE ALSO

50       The  full  documentation  for gnutls is maintained as a Texinfo manual.
51       If the /usr/share/doc/gnutls/ directory does not contain the HTML  form
52       visit
53
54       https://www.gnutls.org/manual/
55
56gnutls                               3g.n7u.t8ls_anon_set_server_known_dh_params(3)
Impressum