gnutls_ocsp_resp_export2(3)
β¨ gnutls_ocsp_resp_export2 β¨
okay bestie, welcome to the gnutls manual page for gnutls_ocsp_resp_export2(3) π β yes, the (3) means it lives in the library section, and yes, it's as cute as it sounds. this one's all about taking your OCSP response and getting it out of the library so you can do stuff with it. slay. π
π NAME π
gnutls_ocsp_resp_export2 β it's an API function π (that's literally what the manpage calls it, no notes)
πΈ SYNOPSIS πΈ
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_export2(gnutls_ocsp_resp_const_t resp,
gnutls_datum_t * data, gnutls_x509_crt_fmt_t fmt);
likeβ¦ look at her. three little params, one big job. iconic. π
π¦ ARGUMENTS π¦
gnutls_ocsp_resp_const_t respβ this is the OCSP response you're holding, bestie. it's the main character here.gnutls_datum_t * dataβ a newly allocated buffer that's gonna hold your DER- or PEM-encoded OCSP response. brand new, fresh out the box. β¨gnutls_x509_crt_fmt_t fmtβ pick your vibe: DER or PEM. that's it, that's the choice. π
π· DESCRIPTION π·
so basically? this function will export the OCSP response to DER or PEM format. that's the whole assignment. it ate and left no crumbs. π
β RETURNS β
if things go sideways, you get a negative error code back. π but if it all works out? you get 0 on success. zero means slay. π«Ά
π SINCE π
3.6.3 β she's been around a minute, lowkey a legend. β
π REPORTING BUGS π
found a bug? not me gatekeeping β go tell the devs:
- 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.
(translation: use it, share it, just keep the receipts, bestie. π§)
π 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/
heads up fr fr: this whole thing is from the gnutls manual, version3.8.13, and the page itself isgnutls_ocsp_resp_export2(3). go off, export that response, and drink some water. πβ¨ bye bestie!! π¦πΈ
π¦ 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