gnutls_session...ify_cert_status(3)

πŸ’– gnutls_session_get_verify_cert_status β€” the vibe check for your certs πŸ’–

okay so bestie, welcome to the gnutls manual, and specifically to gnutls_session_get_verify_cert_status, which is an API function in the gnutls manual. yes she's a long name, yes she's worth it, let's go 🫢


✨ SYNOPSIS ✨

like, this is the shape of her. no notes:

#include <gnutls/gnutls.h>

unsigned int gnutls_session_get_verify_cert_status(gnutls_session_t
session);

πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_session_t session β€” bestie this is just a gnutls session. that's it. that's the whole argument. she's low maintenance fr πŸ’…

🌸 DESCRIPTION 🌸

so what does she actually do? she hands you back the status of the verification, but only when that verification was started by auto-verification β€” meaning it got kicked off by gnutls_session_set_verify_cert2() or gnutls_session_set_verify_cert(). that's the whole origin story πŸ¦‹

⚠️ important bestie: if no certificate verification ever occurred, the return value gets set to ((unsigned int)-1). so if you're staring at that value like πŸ‘οΈπŸ‘„πŸ‘οΈ, that's what happened.

and the certificate verification status she gives you? it's the exact same one as in gnutls_certificate_verify_peers(). no cap, same status, same energy ✨


πŸ‘‘ RETURNS πŸ‘‘

the certificate verification status. periodt πŸ’…


⭐ SINCE ⭐

3.4.6 β€” she's been iconic since 3.4.6, iykyk 🌈


😭 REPORTING BUGS 😭

found a bug? don't suffer in silence, tell the people:


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, copy it, share it, remix it β€” just keep the copyright notice and this notice with it, and you're golden 🧚)


πŸ”₯ 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/


aaaand that's the page bestie, you ate that πŸ’– this was gnutls 3.8.13, written by the gnutls girlies, mwah 😘 go verify some certs responsibly πŸ’œ

πŸ“¦ where this page comes from