gnutls_x509_cr...ature_algorithm(3)
β¨ NAME β¨
gnutls_x509_crl_get_signature_algorithm β it's an API function, bestie π
This one lives in the gnutls manual, and we're about to make it make sense. Periodt.
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_crl_get_signature_algorithm(gnutls_x509_crl_t crl);
Like, that's the whole vibe right there π
πΈ ARGUMENTS πΈ
gnutls_x509_crl_t crlβ okay so this should contain agnutls_x509_crl_ttype. That's it, that's the requirement. Give it your CRL and let it cook π
π DESCRIPTION π
So here's the tea: this function will return a value of the gnutls_sign_algorithm_t enumeration that is the signature algorithm. Basically you hand it a CRL and it tells you what signed it. slay π
And since 3.6.0? This function never returns a negative error code. Not ever. No cap. π«
So what happens when stuff goes wrong, or the signature algorithm is unknown/unsupported? It all gets mapped to GNUTLS_SIGN_UNKNOWN. Every single error case, every unknown, every unsupported one β they all land in the same bucket. So don't be out here checking for negative returns like it's 2018, because that era is over. π
π₯ RETURNS π₯
A gnutls_sign_algorithm_t value. That's the whole return, that's the main character energy right there β¨
π REPORTING BUGS π
Found a bug? Don't suffer in silence, bestie, tell the people:
- 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. So like, go off, share it, remix it β just keep the receipts π§Ύπ
π 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/
Go read the docs, iykyk π«Ά
And that's the whole page, bestie π This was the gnutls manual, version 3.8.13, and yeah the page name is a whole mouthful (gnutls_x509_cr...ature_algorithm) so we just call it by its government name up top. Stay iconic, read your man pages, mwah ππ
πΈ
π¦ 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