gnutls_sign_get_hash_algorithm(3)

πŸ’– gnutls_sign_get_hash_algorithm πŸ’–

okay bestie, so this one lives in the gnutls manual β€” it's gnutls_sign_get_hash_algorithm(3), and it's genuinely one of those little functions that's giving quietly essential, yk? πŸ¦‹


✨ NAME ✨

gnutls_sign_get_hash_algorithm β€” API function πŸ’…


✨ SYNOPSIS ✨

#include <gnutls/gnutls.h>

gnutls_digest_algorithm_t
gnutls_sign_get_hash_algorithm(gnutls_sign_algorithm_t sign);

✨ ARGUMENTS ✨

  • gnutls_sign_algorithm_t sign β€” bestie this is a signature algorithm, that's the whole vibe 🌸

✨ DESCRIPTION ✨

So like, this function returns the digest algorithm that corresponds to the signature algorithms you handed it. that's it. that's the whole thing. match made in heaven, no cap πŸ’–


✨ SINCE ✨

3.1.1 β€” she's been around, she's a legacy icon πŸ‘‘


✨ RETURNS ✨

It returns a gnutls_digest_algorithm_t value... or GNUTLS_DIG_UNKNOWN if something goes wrong 😭 (yes, that's the error case, lowkey tragic but at least you get a heads up)


✨ 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. (fr fr, 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/


okay that's the whole page, you ate that 🫢 this was gnutls version 3.8.13, signing off β€” mwah πŸ’œβœ¨πŸŽ€

πŸ“¦ where this page comes from