gnutls_digest_get_oid(3)

✨ gnutls_digest_get_oid ✨

okay bestie, welcome to the gnutls manual πŸ’– this one's a lil function page, short and sweet, but it does exactly what it says on the tin and we're gonna stan it anyway 🫢


πŸ’… NAME πŸ’…

gnutls_digest_get_oid β€” it's an API function, no cap πŸŽ€


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

const char * gnutls_digest_get_oid(gnutls_digest_algorithm_t algorithm);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • gnutls_digest_algorithm_t algorithm β€” bestie this is a digest algorithm, that's the whole vibe πŸ“

✨ DESCRIPTION ✨

So like, what it does is take a gnutls_digest_algorithm_t value and convert it into its object identifier. That's it. That's the whole glow-up πŸ’« you hand it the algorithm, it hands you back the OID, main character energy fr fr πŸ‘‘


πŸŽ€ RETURNS πŸŽ€

It gives you back a string that contains the object identifier of the digest algorithm you specified. and if it can't? you get NULL. so like, check for that, okay? πŸ™ˆ


⭐ SINCE ⭐

3.4.3 β€” been iconic since way back πŸ’œ


πŸ”₯ REPORTING BUGS πŸ”₯

Found a bug? not me gatekeeping β€” report it, bestie:


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. πŸ’– like, go forth and share, just keep the receipts okay?


🌸 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/


lowkey the whole thing in one breath: digest algorithm in, OID string out, or NULL if the universe says no πŸ’€

and that's the tea 🍡 this page is from the gnutls manual, version 3.8.13 β€” mwah, slay, periodt πŸ’…βœ¨πŸ¦‹

πŸ“¦ where this page comes from