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:

they wanna hear from you. go tell them. πŸ“


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