gnutls_oid_to_mac(3)

πŸ’– NAME πŸ’–

gnutls_oid_to_mac β€” ok bestie this is an API function, and it's literally the glow-up translator for object identifiers ✨


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/gnutls.h>

gnutls_mac_algorithm_t gnutls_oid_to_mac(const char * oid);

πŸŽ€ ARGUMENTS πŸŽ€

  • const char * oid β€” bestie, this is an object identifier. like, a textual one. that's the whole vibe. 🫢

✨ DESCRIPTION ✨

Okay so here's the tea: this function takes a textual object identifier β€” typically one of those PKCS5 values β€” and converts it into a gnutls_mac_algorithm_t value. That's it. That's the function. It's giving translator, it's giving matchmaker, and honestly? It ate. πŸ’…


πŸ”₯ RETURNS πŸ”₯

It hands you back a gnutls_mac_algorithm_t id for the digest algorithm you asked about. And if it can't figure it out? GNUTLS_MAC_UNKNOWN. On failure. No cap. 😭


🌸 SINCE 🌸

3.5.4 β€” yes she's been around a minute, an icon of longevity fr fr πŸ‘‘


πŸ› REPORTING BUGS πŸ›

Found a bug? Don't be shy, tell the girlies at <bugs@gnutls.org>.

Home page: https://www.gnutls.org β€” go say hi πŸ¦‹


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.

(Translation: you can copy and share this however you want, just keep the receipts β€” the copyright notice and this notice β€” attached. Respect the elders. πŸ™)


πŸ‘€ 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/

Not me wrapping up a whole manpage πŸ’€ this was gnutls_oid_to_mac(3) from the gnutls manual, version 3.8.13. mwah, love u, go read ur docs bestie πŸ’–βœ¨πŸŽ€
πŸ“¦ where this page comes from