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 a gnutls_x509_crt_t type. 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:


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