GNUTLS_OCSP_RESP_GET_SIGNATURE_ALGORITHM(3)
โจ NAME โจ
gnutls_ocsp_resp_get_signature_algorithm โ an API function, bestie ๐
It lives in the gnutls manual (section 3, the library-functions girlies), so if you're poking around the gnutls docs, you're in the right place ๐ซถ
๐ธ SYNOPSIS ๐ธ
#include <gnutls/ocsp.h>
int gnutls_ocsp_resp_get_signature_algorithm(gnutls_ocsp_resp_const_t
resp);
๐ ARGUMENTS ๐
gnutls_ocsp_resp_const_t respโ okay so this one should contain agnutls_ocsp_resp_ttype. That's the vibe check it has to pass ๐
๐ฆ DESCRIPTION ๐ฆ
So here's the tea, bestie: this function returns a value from the gnutls_sign_algorithm_t enumeration โ specifically the signature algorithm that was used to sign the OCSP response ๐
Like, you hand it your OCSP response, it tells you what signed it. That's it. That's the whole plot. Iconic, honestly โจ
โญ RETURNS โญ
A gnutls_sign_algorithm_t value on the good path ๐ฅณ โ or a negative error code if something went wrong ๐ญ
no cap: check that sign, because a negative number is not a signature algorithm, it's a cry for help ๐
๐ REPORTING BUGS ๐
Found something cursed? 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. ๐ซถ
๐ 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/
okay that's the whole page, mwah ๐ This was gnutls 3.8.13, from the gnutls_ocsp_resp_get_signature_algorithm(3) page โ go read the Texinfo manual if you want the extended cut, ily, bye ๐ง๐
๐ฆ 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