GNUTLS_CERTIFICATE_CLIENT_GET_REQUEST_STATUS(3)

✨ NAME ✨

gnutls_certificate_client_get_request_status β€” an API function, bestie πŸ’… (from the gnutls manual, obviously)


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

unsigned gnutls_certificate_client_get_request_status(gnutls_session_t
session);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” is a gnutls session. that's it. that's the whole argument. one (1) session, she's the main character 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so. you know how sometimes a server is like "hey bestie, prove who you are" and sometimes it's like "nah we're good"? this function is the vibe check for that. πŸ’–

Get whether client certificate was requested on the last handshake or not. last handshake β€” past tense, no cap, it's not looking into the future, it's reporting on what already went down. πŸ”₯


⭐ RETURNS ⭐

  • 0 β€” the peer (server) did not request client authentication πŸ™ˆ
  • 1 β€” otherwise. aka they DID ask. 😭

that's the whole range, girlie. zero or one. binary. iconic. πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

found something cursed? 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. fr fr, go wild, 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/

like, the whole manual is right there, go read it, iykyk πŸ“šβœ¨


and that's the whole page, bestie!! this was gnutls 3.8.13, served up fresh from the gnutls manual β€” mwah, take care of her πŸ’…πŸ«Ά

πŸ“¦ where this page comes from