gnutls_ecc_curve_get_oid(3)
π gnutls_ecc_curve_get_oid β the glow-up from curve to OID π
okay bestie, sit down, we're doing the gnutls manual (yes, that gnutls, the whole TLS library) and today's main character is this lil function right here. it's an API function, it's adorable, it's useful, let's go π¦
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
const char * gnutls_ecc_curve_get_oid(gnutls_ecc_curve_t curve);
like. that's it. that's the whole vibe. one include, one function, zero drama π
π ARGUMENTS π
gnutls_ecc_curve_t curveβ bestie this is an ECC curve. that's the whole thing, it's an ECC curve, hand it over and we'll do stuff with it πΈ
π« DESCRIPTION π«
so what does this icon actually do? it converts a gnutls_ecc_curve_t value into its object identifier. that's it. curve in, OID out. it's giving translator, it's giving matchmaker, it's giving "I know a guy who knows a guy" π
no cap, that's the entire job description.
π₯ RETURNS π₯
you get back a string that contains the OID of the curve you specified. and if there's no OID to be found? you get NULL. that's it, that's the tea β
ngl bestie, check for thatNULL, because aNULLstring is not gonna be your friend in aprintfsituation. just saying π
β SINCE β
3.4.3 β so this one's been around a minute. vintage. classic. timeless. lowkey iconic π
π REPORTING BUGS π
found a bug? don't be shy, tell the gnutls girlies:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
fr fr they want to hear from you, bugs are a group project π«Ά
π 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.
(translation: it's free, it's open, just keep the receipts, bestie π§)
π 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 it, it's the full lore, the extended universe, the director's cut β¨
and that's the whole page, bestie!! you made it, I'm so proud of you π₯Ή
this lil beauty came to you from the gnutls manual, version 3.8.13 β and the date slot on that footer was giving absolutely nothing, blank as my weekend plans π β so just take the version and run with it. mwah π
π¦ 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