gnutls_oid_to_digest(3)
β¨ gnutls_oid_to_digest β¨
ok bestie so this is a page from the gnutls manual β the gnutls_oid_to_digest(3) one π it's a lil function that takes an OID (yes, as a string, we'll get there) and tells you which digest algorithm it is. that's the whole vibe. let's go π¦
πΈ NAME πΈ
gnutls_oid_to_digest β literally just an API function, no cap π«Ά
π SYNOPSIS π
#include <gnutls/gnutls.h>
gnutls_digest_algorithm_t gnutls_oid_to_digest(const char * oid);
like. that's it. that's the function. gorgeous π
π ARGUMENTS π
const char * oidβ it's an object identifier. that's it, that's the arg. you hand it a string that's an OID and it does its lil thing β¨
π DESCRIPTION π
so the way this works is: you give it a textual object identifier (like, the OID written out as text), and it converts that into a gnutls_digest_algorithm_t value for you. that's the conversion. that's the whole plot π
ngl it's giving "tiny translator between two worlds" and honestly? iconic. π
π RETURNS π
it hands back a gnutls_digest_algorithm_t id β specifically the id of the digest algorithm you asked about π
β οΈ and if it can't figure it out? you get GNUTLS_DIG_UNKNOWN on failure. that's the "bestie i have no idea what this is" answer π
β SINCE β
3.4.3 β so it's been around a minute, it's not new new. respect the elders π
π REPORTING BUGS π
found a bug? not the vibe, but okay, report it, they wanna know:
- bugs go to
<bugs@gnutls.org>π - home page:
https://www.gnutls.orgπ
π§ COPYRIGHT π§
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
and the license part, fr fr: 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, that's a generous license and we 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, go visit:
https://www.gnutls.org/manual/
that's your link, go off π
ok that's the whole page, mwah π this was the gnutls_oid_to_digest(3) manpage from gnutls version 3.8.13 β stay hydrated, read your manpages, and remember: GNUTLS_DIG_UNKNOWN is a valid answer, not a personal failure πΈπ
π¦ where this page comes from
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms