gnutls_oid_to_ecc_curve(3)
β¨ gnutls_oid_to_ecc_curve β¨
okay bestie, welcome to the gnutls manual, page three of gnutls_oid_to_ecc_curve(3). this one's a lil cutie β a whole API function whose entire job is translating OIDs into curve vibes. let's get into it π
NAME
gnutls_oid_to_ecc_curve β it's an API function, periodt.
SYNOPSIS
so first you gotta bring in the header, obviously:
#include <gnutls/gnutls.h>
and here's the signature, look at her:
gnutls_ecc_curve_t gnutls_oid_to_ecc_curve(const char * oid);
that's it. that's the whole function. so simple, so iconic.
ARGUMENTS
const char * oidβ this is a curve's OID. like, the OID string for the curve you're asking about. hand it over and let her cook π
RETURNS
she gives you back a gnutls_ecc_curve_t value β the one that corresponds to the OID you passed in. matching, slaying, the whole thing π
but if something's off? if the OID doesn't line up with anything? you get GNUTLS_ECC_CURVE_INVALID back. that's the error case, no cap. don't ignore her, she's telling you something π
SINCE</since>
this one's been around since 3.4.3. an elder. a legend. she was doing this before it was cool β¨
REPORTING BUGS
found a bug? don't suffer in silence bestie, tell the devs:
Report bugs to <bugs@gnutls.org>.
Home page: https://www.gnutls.org
COPYRIGHT
Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.
and the legal tea: copying and distribution of this file β with or without modification β is permitted in any medium without royalty, as long as the copyright notice and this notice are preserved. so go wild, just keep the receipts π«Ά
SEE ALSO
the full documentation for gnutls lives in a Texinfo manual. and if the /usr/share/doc/gnutls/ directory isn't giving what it's supposed to give (aka it doesn't have the HTML form), then just go here:
https://www.gnutls.org/manual/
ngl that's the whole page. short, sweet, and lowkey perfect for what it does πΈ
and that's a wrap on the gnutls 3.8.13 manual, page gnutls_oid_to_ecc_curve(3). mwah, take care of her ππ¦
π¦ 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