gnutls_oid_to_gost_paramset(3)
π gnutls_oid_to_gost_paramset β the gnutls manual, bestie edition π
okay so you're in the gnutls manual and you clicked on gnutls_oid_to_gost_paramset(3). slay. this one's a lil function with a big name and a very specific job, and honestly? it eats. let's get into it. π¦
β¨ NAME β¨
gnutls_oid_to_gost_paramset β API function
literally what it says on the tin, babe. it's an API function. π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
gnutls_gost_paramset_t gnutls_oid_to_gost_paramset(const char * oid);
like, that's the whole vibe. include the header, call the thing, get a paramset back. periodt. β¨
π ARGUMENTS π
const char * oidβ is an object identifier. that's it, that's the whole argument. it's a string, it's textual, it's an OID. no cap. π
π DESCRIPTION π
Converts a textual object identifier to a gnutls_gost_paramset_t value.
so you hand it the OID as text, and it hands you back the matching gnutls_gost_paramset_t. one in, one out. the way that it just *converts*β¦ iconic. π§
π«Ά RETURNS π«Ά
a gnutls_gost_paramset_get_oid of the specified GOST 28147 param st, or GNUTLS_GOST_PARAMSET_UNKNOWN on failure.
so like, happy path? you get the thing for that GOST 28147 param st. sad path? GNUTLS_GOST_PARAMSET_UNKNOWN, and you go π. check for that one, bestie, fr fr.
π SINCE π
3.6.3
she's been around since 3.6.3. a seasoned queen. π
π REPORTING BUGS π
found a bug? not me manifesting one, but if you did:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
they wanna hear from you. go tell them. π
π 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.
so yes, you may copy and distribute this file, with or without modification, in any medium, without royalty β just keep the copyright notice and this notice. that's the deal. respect it. β¨
π₯ 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/
go read the whole Texinfo manual, it's giving main character energy. π
ngl, this one's short and sweet. include the header, pass your OID, check for GNUTLS_GOST_PARAMSET_UNKNOWN, and you're done. no notes. π
okay bestie that's the whole page, we ate and left no crumbs. this was gnutls_oid_to_gost_paramset(3) from the gnutls manual, version 3.8.13 β mwah, go forth and convert those OIDs. π
β¨π¦
π¦ 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