gnutls_ocsp_req_export(3)
π gnutls_ocsp_req_export(3) π
okay bestie, welcome to the gnutls manual β this one's a lil function page for gnutls_ocsp_req_export, and honestly? she's a queen. let's get into it π
β¨ NAME β¨
gnutls_ocsp_req_export β API function π«Ά
πΈ SYNOPSIS πΈ
#include <gnutls/ocsp.h>
int gnutls_ocsp_req_export(gnutls_ocsp_req_const_t req, gnutls_datum_t *
data);
π¦ ARGUMENTS π¦
gnutls_ocsp_req_const_t reqβ bestie this one holds the OCSP request. she's the main character, she's the input, she's carrying the whole vibe πgnutls_datum_t * dataβ and this one? she's the newly allocate buffer holding DER encoded OCSP request. yes, "newly allocate", that's the exact wording, and yes, that means the function is handing you a freshly allocated buffer, so like. handle that. π
π DESCRIPTION π
okay so the way this works is iconic actually β this function will export the OCSP request to DER format. that's it, that's the whole job, and she does it flawlessly β¨
β RETURNS β
In case of failure a negative error code will be returned, and 0 on success. so like, if you get a negative number, that's not a vibe check you passed, that's a whole problem π if you get 0? slay. you ate. periodt π
π₯ REPORTING BUGS π₯
Report bugs to <bugs@gnutls.org>. Home page: https://www.gnutls.org
fr fr if something's broken, tell the gnutls girlies β they wanna 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.
(ngl that's a genuinely generous license, we love to see it π)
π 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, no cap, every flag and fact intact π this was the gnutls manual, version 3.8.13, page gnutls_ocsp_req_export(3) β go export some DER and live your best life π§ββοΈπ«
π¦ 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