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 a gnutls_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 Β© 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