GNUTLS_PSK_SET_SERVER_CREDENTIALS_HINT(3)
π NAME π
gnutls_psk_set_server_credentials_hint β bestie, it's an API function β¨
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
int
gnutls_psk_set_server_credentials_hint(gnutls_psk_server_credentials_t
res, const char * hint);
π ARGUMENTS π
gnutls_psk_server_credentials_t resβ okay so this one is agnutls_psk_server_credentials_ttype, that's the vibe πconst char * hintβ and this is the PSK identity hint string π¦
β¨ DESCRIPTION β¨
So basically this function sets the identity hint, inside a gnutls_psk_server_credentials_t type. Periodt. π
And like, the whole point of this hint? It gets sent to the client to help it chose a good PSK credential (aka the username and password, iykyk). It's giving little helpful nudge energy, not me being dramatic, it's literally what it does π
π RETURNS π
When everything slays: on success, GNUTLS_E_SUCCESS (0) is returned π«Ά Otherwise? An error code gets returned. Not the main character moment we wanted but okay π
β SINCE β
2.4.0 β vintage, honestly. Iconic since way back π«
π REPORTING BUGS π
Found a bug? Don't be shy, report it 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. (Yes bestie, you can share it, go off π )
π₯ 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, no cap π this was the gnutls_psk_set_server_credentials_hint(3) page from the gnutls manual, version 3.8.13 β stay hydrated, read your man pages, and slay πβ¨π¦
π¦ 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