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 a gnutls_ocsp_resp_t type. 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 ยฉ 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