gnutls_ocsp_status_request_get(3)
β¨ gnutls_ocsp_status_request_get β¨
okay bestie, so this one lives in the gnutls manual (that's the man page name, iykyk) and it's genuinely one of the cuter little API functions. let's get into it π
πΈ NAME πΈ
gnutls_ocsp_status_request_get β an API function, and yes she's giving "I just wanna fetch one thing" energy π
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
int gnutls_ocsp_status_request_get(gnutls_session_t session,
gnutls_datum_t * response);
π ARGUMENTS π
gnutls_session_t sessionβ it's literally just agnutls_session_ttype, that's the whole vibe. your session bestie π«Άgnutls_datum_t * responseβ agnutls_datum_tholding the DER encoded OCSP response. DER encoded, no cap π₯
π DESCRIPTION π
so like, this function returns the OCSP status response that came back from the TLS server. that's it, that's the whole job β¨
β οΈ the response should be treated as constant. do not go messing with it, bestie. it is not yours to edit. hands off π
and if there's no OCSP response available? then GNUTLS_E_REQUESTED_DATA_NOT_AVAILABLE gets returned. she simply isn't there. ghosted π
π RETURNS π
on success, GNUTLS_E_SUCCESS (0) is returned π otherwise you get a negative error code back. negative = not the vibe. periodt.
β SINCE β
3.1.3 β an OG, lowkey been here forever π
π REPORTING BUGS π
found a bug? report it to <bugs@gnutls.org>. they want to hear from you, fr fr π
home page: https://www.gnutls.org β go say hi πΈ
π§ 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, take it, share it, 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/
and that's the whole page bestie!! this was gnutls, version 3.8.13, and yes she ate π
β¨π¦ mwah, go read some more man pages, ily π«Άπ
π¦ 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