gnutls_ocsp_resp_export(3)
π gnutls_ocsp_resp_export β bestie's guide to yeeting an OCSP response into DER
okay so real talk, this page lives in the gnutls manual (the gnutls_ocsp_resp_export(3) one, iykyk) and it's literally just about turning your in-memory OCSP response into bytes. slay.
πΈ NAME πΈ
gnutls_ocsp_resp_export β it's an API function, bestie π
β¨ SYNOPSIS β¨
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_export(gnutls_ocsp_resp_const_t resp,
gnutls_datum_t * data);
π ARGUMENTS π
gnutls_ocsp_resp_const_t respβ this is the OCSP response you're holding, the main character of this whole operation πgnutls_datum_t * dataβ and this is where the freshly allocated buffer lands, holding the DER encoded OCSP response. newly allocated. fresh out the oven. π
π¦ DESCRIPTION π¦
So the way that this works is: this function will export the OCSP response to DER format. that's it. that's the whole vibe. it takes your response, it hands you back DER bytes. periodt. β¨
π RETURNS π
In case of failure a negative error code will be returned π (not the vibe), and 0 on success π (the vibe).
π REPORTING BUGS π
Found a bug? not me being the bearer of bad news, but please 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. iconic behavior honestly.
π 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/
ngl, that's the whole page. no cap. go export something. π
and that's a wrap, bestie β this was gnutls_ocsp_resp_export(3) from gnutls version 3.8.13 π« thanks for reading, ily, drink water π§
π¦ 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