gnutls_oid_to_sign(3)

✨ gnutls_oid_to_sign(3) ✨

okay bestie, welcome to the gnutls manual πŸ’– this one's a lil baby function but she's important, trust.


🌸 NAME 🌸

gnutls_oid_to_sign β€” it's an API function, and it's here to translate for you 🫢


πŸŽ€ SYNOPSIS πŸŽ€

#include <gnutls/gnutls.h>

gnutls_sign_algorithm_t gnutls_oid_to_sign(const char * oid);

πŸ¦‹ ARGUMENTS πŸ¦‹

  • const char * oid β€” bestie this is an object identifier, a textual one, the stringy kind 🧚

πŸ’… DESCRIPTION πŸ’…

So the way this works is: it converts a textual object identifier into a gnutls_sign_algorithm_t value. That's the whole vibe. String in, sign algorithm out, no cap πŸ’«


⭐ RETURNS ⭐

it hands you back a gnutls_sign_algorithm_t id of the specified digest algorithm πŸ’–

and if it's not feeling it? it gives you GNUTLS_SIGN_UNKNOWN on failure. periodt. 😭


🌈 SINCE 🌈

3.4.3 β€” she's been around, an icon, we stan πŸ‘‘


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? spill the tea, not to me, to the actual maintainers:


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. slay, and also legally binding, love that for us ✨


πŸ”₯ 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/

and that's the whole page, bestie!! this was gnutls, version 3.8.13, and yes the footer said the same thing, mwah πŸ’‹ go forth and convert those OIDs πŸ¦‹πŸ’–

πŸ“¦ where this page comes from