gnutls_ocsp_req_print(3)
π NAME π
gnutls_ocsp_req_print β an API function, bestie, and it's here to make your OCSP request look cute for human eyeballs β¨
π SYNOPSIS π
#include <gnutls/ocsp.h>
int gnutls_ocsp_req_print(gnutls_ocsp_req_const_t req,
gnutls_ocsp_print_formats_t format, gnutls_datum_t * out);
π¦ ARGUMENTS π¦
gnutls_ocsp_req_const_t reqβ the data to be printed, aka the whole point of this function, the main character π«Άgnutls_ocsp_print_formats_t formatβ tells it which format to use, like picking an outfit but for output πΈgnutls_datum_t * outβ a newly allocated datum holding a (0) terminated string. Fresh out the oven, literally β¨
π DESCRIPTION π
okay so. This function will pretty print an OCSP request, and it's suitable for display to a human β that's us, we're the human π«Ά
If the format is GNUTLS_OCSP_PRINT_FULL then all fields of the request will be output, on multiple lines. No crumbs left behind, it's giving thorough πβ¨
not me reminding you again: the outputout->dataneeds to be deallocated usinggnutls_free(). Free your girl. Don't leak, it's not the vibe π
β RETURNS β
On success, GNUTLS_E_SUCCESS (0) is returned, otherwise a negative error value. Zero means slay, negative means we're crying in the group chat π
π REPORTING BUGS π
Found a bug? Spill 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 behaviour, honestly, periodt π
π₯ 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, no cap π this one's from the gnutls manual, version 3.8.13, and it's the gnutls_ocsp_req_print(3) girlie herself. mwah, go print some requests ππ¦β¨
π¦ 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