gnutls_ocsp_resp_check_crt(3)
π gnutls_ocsp_resp_check_crt(3) π
okay bestie, so this one lives in the gnutls manual, and it's lowkey one of the most "wait, is this cert even the vibe" functions in the whole OCSP situation. let's get into it π¦
β¨ NAME β¨
gnutls_ocsp_resp_check_crt β API function π
πΈ SYNOPSIS πΈ
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_check_crt(gnutls_ocsp_resp_const_t resp, unsigned
int indx, gnutls_x509_crt_t crt);
π ARGUMENTS π
gnutls_ocsp_resp_const_t respβ should contain agnutls_ocsp_resp_ttype, fr fr. that's your OCSP response bestie, the whole reason we're here.unsigned int indxβ Specifies response number to get. Use(0)to get the first one. yes queen, we're zero-indexed, as is tradition πgnutls_x509_crt_t crtβ The certificate to check. the one you're side-eyeing. π
π₯ DESCRIPTION π₯
This function will check whether the OCSP response is about the provided certificate.
that's it. that's the whole plot. it's giving "are these two actually matching or is this a situationship" energy. the response says something about some cert, and you're asking "is it this one?" π
β RETURNS β
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error code is returned.
so 0 = we ate, negative = we did not eat π
π¦ SINCE π¦
3.1.3 β an elder icon, honestly. been serving since 3.1.3, no cap π
π REPORTING BUGS π
Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org
if you find a bug, don't be shy, tell the gnutls girlies. they want to know. π«Ά
π 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.
(translation: go off, share it, remix it, 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/
like, check your local docs first bestie, and if they ghosted you, the website has your back πΈ
and that's the page!! brought to you by gnutls 3.8.13, gnutls_ocsp_resp_check_crt(3), mwah π
π stay certified, stay checked π¦
π¦ 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