GNUTLS_HANDSHAKE_SET_SECRET_FUNCTION(3)

πŸ’– gnutls_handshake_set_secret_function β€” the API function πŸ’–

okay so bestie, welcome to the gnutls manual, and today's main character is gnutls_handshake_set_secret_function. sit down, hydrate, we're doing TLS internals 🌸


✨ NAME ✨

gnutls_handshake_set_secret_function β€” literally just an API function, that's the whole vibe 🫢


🌈 SYNOPSIS 🌈

#include <gnutls/gnutls.h>

void gnutls_handshake_set_secret_function(gnutls_session_t session,
       gnutls_handshake_secret_func func);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie, this is a gnutls_session_t type. that's it, that's the arg πŸ’…
  • gnutls_handshake_secret_func func β€” the secret func. yes queen, the actual callback πŸ”₯

πŸ’œ DESCRIPTION πŸ’œ

so what does this do? this function will set a callback β€” and that callback gets called when a new traffic secret is installed. that's the whole thing. no cap, that's the plot πŸ¦‹


⭐ SINCE ⭐

3.7.0 β€” she's been here since 3.7.0, an icon, an elder stateswoman πŸ‘‘


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not you being the detective πŸ•΅οΈβ€β™€οΈ report it to bugs@gnutls.org.

home page is right here: https://www.gnutls.org β€” go say hi ✨


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, you can share it, just 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, bestie, just go visit:

https://www.gnutls.org/manual/

iykyk πŸ“šβœ¨


and that's the whole page, bestie!! this was the gnutls 3.8.13 edition of gnutls_handshak...secret_function(3) πŸ’…πŸŽ€ go forth and install those secrets responsibly πŸ§šπŸ’œ

πŸ“¦ where this page comes from