gnutls_x509_cr...ature_algorithm(3)
π NAME π
gnutls_x509_crt_get_signature_algorithm β bestie, it's an API function, and it's here to tell you which signature algorithm signed your certificate π
(this lil page lives in the gnutls manual, section 3, and the whole vibe is gnutls_x509_cr...ature_algorithm(3) β yes the title gets truncated like that, iconic honestly)
β¨ SYNOPSIS β¨
#include <gnutls/x509.h>
int gnutls_x509_crt_get_signature_algorithm(gnutls_x509_crt_t cert);
okay so that's the whole thing. one function, one arg, no drama π
π«Ά ARGUMENTS π«Ά
gnutls_x509_crt_t certβ this one should contain agnutls_x509_crt_ttype. that's the whole assignment bestie, it's giving "just pass me a cert" energy π¦
πΈ DESCRIPTION πΈ
So like, this function will return a value of the gnutls_sign_algorithm_t enumeration that is the signature algorithm that has been used to sign this certificate. literally just "what signed u" but for certs β¨
Since 3.6.0 this function never returns a negative error code. not ever. no cap. π«‘ Error cases and unknown/unsupported signature algorithms are mapped to GNUTLS_SIGN_UNKNOWN. so if it's confused, it doesn't crash out, it just goes GNUTLS_SIGN_UNKNOWN and moves on. main character composure π
π RETURNS π
a gnutls_sign_algorithm_t value. that's it. that's the return. slay β
π REPORTING BUGS π
Found a bug? Tell the gnutls girlies:
- 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, 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/
fr fr go read the whole Texinfo manual, it's the mothership πΈ
and that's the page bestie!! π this was gnutls version 3.8.13, straight from the gnutls project, filed under gnutls_x509_cr...ature_algorithm(3) β the title that got clipped mid-word and honestly? we respect the commitment. mwah, 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