gnutls_session_channel_binding(3)
π gnutls_session_channel_binding β the gnutls manual, bestie edition π
okay so this one lives in the gnutls manual, and it's literally the function that pulls out your channel binding data. yes, that channel binding. the one your TLS-obsessed mutuals keep talking about. iykyk π¦
β¨ NAME β¨
gnutls_session_channel_binding β API function π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
int gnutls_session_channel_binding(gnutls_session_t session,
gnutls_channel_binding_t cbtype, gnutls_datum_t * cb);
π ARGUMENTS π
gnutls_session_t sessionβ bestie, this is agnutls_session_ttype. that's it, that's the whole vibe.gnutls_channel_binding_t cbtypeβ angnutls_channel_binding_tenumeration type. so like, the flavour of binding you're asking for.gnutls_datum_t * cbβ output buffer array with data. the lil container where your data ends up living. π«Ά
π DESCRIPTION π
Extract given channel binding data of the cbtype (e.g., GNUTLS_CB_TLS_UNIQUE) type. periodt. that's the whole thing β you hand it the type you want, it hands you the data. iconic behaviour honestly.
β RETURNS β
GNUTLS_E_SUCCESSβ on success. we love a win. πGNUTLS_E_UNIMPLEMENTED_FEATUREβ if thecbtypeis unsupported. not me asking for a binding that doesn't exist πGNUTLS_E_CHANNEL_BINDING_NOT_AVAILABLEβ if the data is not currently available. like, it's not here rn, try again later.- or an error code. (yes, generically. an error code. that's the deal.)
π¦ SINCE π¦
2.12.0 β she's been around a while, she's a classic, no cap. π
π REPORTING BUGS π
found a bug? don't be shy, tell the devs:
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. fr fr, go wild with it, just keep the receipts. π§
π 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 π this was gnutls version 3.8.13 of gnutls_session_channel_binding(3) β go forth and bind those channels, you absolute main character. 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