GNUTLS_ANON_SET_SERVER_KNOWN_DH_PARAMS(3)
β¨ GNUTLS_ANON_SET_SERVER_KNOWN_DH_PARAMS β¨
okay bestie so this one lives in the gnutls manual, section 3, and it's a whole API function π and yes the name is a mouthful, we're gonna get through it together.
π NAME π
gnutls_anon_set_server_known_dh_params β literally just an API function, that's the whole vibe π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
int
gnutls_anon_set_server_known_dh_params(gnutls_anon_server_credentials_t
res, gnutls_sec_param_t sec_param);
like. look at her. so demure. so mindful π¦
π«Ά ARGUMENTS π«Ά
gnutls_anon_server_credentials_t resβ bestie this is agnutls_anon_server_credentials_ttype. that's it, that's the whole description, no notes πgnutls_sec_param_t sec_paramβ and this one? it's an option from thegnutls_sec_param_tenumeration β¨ (iykyk)
π₯ DESCRIPTION π₯
so what does she actually do? this function sets the Diffie-Hellman parameters for an anonymous server to use. π
those parameters get used in Anonymous Diffie-Hellman cipher suites, and they'll be selected from the FFDHE set of RFC7919 according to the security level you provide. iconic behavior honestly π
π DEPRECATED π
not me having to tell you this but β this function is unnecessary and discouraged on GnuTLS 3.6.0 or later. π
since 3.6.0, DH parameters are negotiated following RFC7919. so like, she served her time, she's retired now, respect the icon π
β RETURNS β
- on success,
GNUTLS_E_SUCCESS(0) is returned π - otherwise, you get a negative error value π
π§ SINCE π§
3.5.6 β she's been around a minute, okay? vintage β¨
π REPORTING BUGS π
found a bug? tell the people, don't suffer in silence:
- report bugs to <bugs@gnutls.org> π
- home page: https://www.gnutls.org π
π COPYRIGHT π
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. slay π«Ά
π SEE ALSO π
the full documentation for gnutls is maintained as a Texinfo manual. if the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit:
https://www.gnutls.org/manual/
okay that's the whole page bestie, you ate that πβ¨
this was gnutls version 3.8.13, brought to you by the gnutls_anon_set...known_dh_params(3) girlies β mwah, go forth and negotiate your DH params responsibly π
ππ¦
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms