gnutls_auth_client_get_type(3)
π gnutls_auth_client_get_type β API function
okay bestie, welcome to the gnutls manual, page gnutls_auth_client_get_type(3) πΈ this one's a lil detective function, she just tells you what kind of creds the client auth used. no cap.
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
gnutls_credentials_type_t gnutls_auth_client_get_type(gnutls_session_t
session);
like yes, she takes one whole argument and hands you back a gnutls_credentials_type_t. iconic behavior fr fr π
π ARGUMENTS π
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's it. that's the whole argument. she's lowkey simple like that π¦
π DESCRIPTION π
So the way this works: she returns the type of credentials that were used for client authentication. you get this info back so you can tell which function you're supposed to use to go access the actual authentication data. it's giving "here's the vibe, now go find the right key" π
β οΈ Note that on resumed sessions, this function returns the schema used in the original session authentication. not the resumed one, the OG one. periodt. π
β RETURNS β
She gives you the type of credentials for the client authentication schema β a gnutls_credentials_type_t type. that's the whole return. slay. π
π«Ά 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. (yes bestie, that's the whole license line, no notes β¨)
π¦ 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 3.8.13, from the gnutls manual β go forth and authenticate responsibly ππ§
π¦ 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