gnutls_auth_get_type(3)
π gnutls_auth_get_type(3) π
okay bestie, welcome to the gnutls manual, page gnutls_auth_get_type(3) β yes that's the manual name, we're doing the whole gnutls thing. sit down, hydrate, let's go β¨
πΈ NAME πΈ
gnutls_auth_get_type β API function π
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
gnutls_credentials_type_t gnutls_auth_get_type(gnutls_session_t
session);
like, that's the whole vibe. one function, one arg, one return type π
π¦ ARGUMENTS π¦
gnutls_session_t sessionβ bestie this is agnutls_session_ttype. that's it. that's the arg. it's giving "I just need the session and I'll tell you everything" π«Ά
π DESCRIPTION π
so what does it do. it returns the type of credentials for the current authentication schema. that returned info is literally there so you can figure out which function you're supposed to use to access the authentication data. no cap. π₯
eg. for CERTIFICATE ciphersuites β that's key exchange algorithms GNUTLS_KX_RSA and GNUTLS_KX_DHE_RSA β the same function is what you use to access the authentication data. iconic behavior honestly.
β οΈ note note note: on resumed sessions, this function returns the schema used in the original session authentication. not the resumed one. the original one. periodt π
π RETURNS π
the type of credentials for the current authentication schema β a gnutls_credentials_type_t type. that's your answer, that's the whole gift π
π REPORTING BUGS π
found a bug?? not you being the main character of quality assurance π
report it 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. slay, that's the license, keep the notice, everyone eats π
π 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/
iykyk, go read the manual bestie, it's the full thing πβ¨
okay that's the page!! this was gnutls version 3.8.13 of gnutls_auth_get_type(3), and yeah the copyright runs 2001-2023, mwah π thanks for reading, go call this function and be free π§π
π¦ 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