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 Β© 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