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:
- 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.
(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
- 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