gnutls_auth_server_get_type(3)

✨ gnutls_auth_server_get_type(3) ✨

okay bestie, welcome to the gnutls manual page for gnutls_auth_server_get_type πŸŽ€ this one's short and sweet and honestly kinda iconic.


πŸ’– NAME πŸ’–

gnutls_auth_server_get_type β€” it's an API function, bestie, that's the whole name vibe πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

gnutls_credentials_type_t gnutls_auth_server_get_type(gnutls_session_t
session);

like. there it is. that's the whole thing πŸ¦‹


🫢 ARGUMENTS 🫢

  • gnutls_session_t session β€” bestie this is just a gnutls_session_t type. that's it. that's the arg ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

so what does it DO. okay so it returns the type of credentials that were used for server authentication. the returned info is meant to be used to distinguish which function you're supposed to reach for when you go to access the authentication data πŸ”₯ like, the function is telling you which accessor function to use, iykyk.

πŸ’€ note bestie: on resumed sessions, this function returns the schema used in the original session authentication. not the resumed one. the ORIGINAL one. no cap, that's literally what it says πŸ™ˆ

⭐ RETURNS ⭐

the type of credentials for the server authentication schema, a gnutls_credentials_type_t type πŸ’œ she's giving type-safe, she's giving enumerated, she ate πŸ“


😭 REPORTING BUGS 😭

found a bug? not me gatekeeping, go tell the devs:


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, go off, just keep the receipt 🧚


πŸ’œ 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're so welcome, mwah πŸ’–

this was gnutls version 3.8.13, and the page itself is gnutls_auth_server_get_type(3) β€” okay love u, bye, go read the Texinfo manual πŸ’…βœ¨

πŸ“¦ where this page comes from