GNUTLS_SESSION_TICKET_KEY_GENERATE(3)
π gnutls_session_ticket_key_generate(3) π
okay bestie, welcome to the gnutls manual, section 3 β¨ this one's short and sweet but it's so important, no cap.
π NAME π
gnutls_session_ticket_key_generate β it's an API function, bestie π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
int gnutls_session_ticket_key_generate(gnutls_datum_t * key);
π¦ ARGUMENTS π¦
gnutls_datum_t * keyβ this is a pointer to agnutls_datum_t, and when this function is done with it, it's gonna contain a newly created key ποΈβ¨ like it literally gets filled in for you, she's generous like that.
π DESCRIPTION π
So basically? This function generates a random key π₯ and that key's whole job is to encrypt security parameters within SessionTicket. That's it. That's the function. She serves one purpose and she serves it iconically π
β RETURNS β
On success you get GNUTLS_E_SUCCESS (which is 0, iykyk) β or an error code if things go sideways π
π SINCE π
2.10.0 β she's been around, an OG, main character energy since forever π
π«Ά REPORTING BUGS π«Ά
Found a bug? Don't suffer in silence bestie, report it to <bugs@gnutls.org> π
Home page is right here: 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. (so like, keep the receipts, periodt π )
π 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/
and that's the whole page, bestie!! you ate that πβ¨
this was brought to you by gnutls version 3.8.13, and yeah the page header/footer date situation is giving "we been knew" but it's all here π go forth and generate those keys ππ¦
π¦ 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