gnutls_sign_get_id(3)
π gnutls_sign_get_id β the glow-up your sign algorithm names deserve π
okay bestie, so this one lives in the gnutls manual (yes, that gnutls) and it's literally the β¨ API function β¨ that turns a cute little algorithm name into its official ID. it's giving translator, it's giving matchmaker, it's giving "i know her" π«Ά
β¨ NAME β¨
gnutls_sign_get_id β API function πΈ
π¦ SYNOPSIS π¦
#include <gnutls/gnutls.h>
gnutls_sign_algorithm_t gnutls_sign_get_id(const char * name);
like. she's a single function. she takes a name and she hands you back a whole enum. main character energy, no cap π
π ARGUMENTS π
const char * nameβ bestie this is a sign algorithm name. that's it, that's the whole job. hand her the name, she does the rest π
π DESCRIPTION π
so here's the tea: the names get compared in a case insensitive way. uppercase, lowercase, screaming-into-the-void-caps, she genuinely does not care. "RSA", "rsa", "RsA"? all the same girl to her. slay π
β RETURNS β
she returns a gnutls_sign_algorithm_t value corresponding to the algorithm you asked for π
and if it goes wrong? you get GNUTLS_SIGN_UNKNOWN on error. so likeβ¦ if you see that one, she didn't find your girl. don't take it personally π
π REPORTING BUGS π
found a bug? not the vibe. report it to <bugs@gnutls.org> and the home page is right here: https://www.gnutls.org β¨
π COPYRIGHT π
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. π«Ά (yes that's the whole thing, verbatim, don't come for me, it's the license)
π§ 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/ π¦
fr fr that's the whole page. case insensitive matching, one return value, one error value, and a manual to read. periodt π
gnutls 3.8.13 π and that's the version, babes β go forth and identify your sign algorithms, iykyk ππΈβ¨
π¦ 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