gnutls_ocsp_req_import(3)
π gnutls_ocsp_req_import π
okay bestie, we're in the gnutls manual and this page is about one lil function that does one big girl job: turning raw bytes into a real, live OCSP request object. no cap. let's get into it π
β¨ NAME β¨
gnutls_ocsp_req_import β it's an API function, and it's here to import your OCSP request. that's the whole vibe. π
πΈ SYNOPSIS πΈ
#include <gnutls/ocsp.h>
int gnutls_ocsp_req_import(gnutls_ocsp_req_t req, const gnutls_datum_t *
data);
look at her. two params, one int return, absolutely serving. π¦
π«Ά ARGUMENTS π«Ά
gnutls_ocsp_req_t reqβ bestie this is the data to store the parsed request. like, this is where the good stuff ends up. it's the destination, the moment, the main character. πconst gnutls_datum_t * dataβ and this is your DER encoded OCSP request. raw. unprocessed. waiting to be understood. it's giving "before" picture in a glow-up montage. β¨
π DESCRIPTION π
so here's the tea: this function will convert the given DER encoded OCSP request into the native gnutls_ocsp_req_t format. glow-up complete. the output will be stored in req. literally that's it, that's the whole transformation arc, and honestly? obsessed. ππ
β RETURNS β
On success, GNUTLS_E_SUCCESS (0) is returned. iconic. perfect. zero. π
otherwise you get a negative error value, which is the function's way of saying "not me having a moment rn" π β so like, check your return values, bestie, fr fr.
π REPORTING BUGS π
found a bug? don't be shy, spill. 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: you can copy and share this, no royalty needed, just keep the copyright notice and this notice with it. respect the lore. π«‘
π₯ SEE ALSO π₯
The full documentation for gnutls is maintained as a Texinfo manual. so if the /usr/share/doc/gnutls/ directory does not contain the HTML form, go visit:
https://www.gnutls.org/manual/
iykyk, the Texinfo manual is where the deep lore lives. go read her. π
and that's the whole page, bestie!! π§ this was gnutls 3.8.13 energy, dropping knowledge from the gnutls_ocsp_req_import(3) era β mwah, slay, periodt. ππ
π¦ 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