gnutls_ecc_curve_get_pk(3)
π gnutls_ecc_curve_get_pk(3) π
okay bestie, so this one lives in the gnutls manual β section 3, the library functions girlies β and it's literally the cutest little lookup ever. you hand it an ECC curve, it hands you back the public key algorithm that goes with it. that's it. that's the whole vibe. π¦
β¨ NAME β¨
gnutls_ecc_curve_get_pk β the API function that does the curve β‘οΈ pk-algorithm glow-up π
πΈ SYNOPSIS πΈ
#include <gnutls/gnutls.h>
gnutls_pk_algorithm_t gnutls_ecc_curve_get_pk(gnutls_ecc_curve_t curve);
like yes, she's a one-liner. iconic behavior honestly.
π ARGUMENTS π
gnutls_ecc_curve_t curveβ bestie this is an ECC curve. that's it. that's the argument. she's not complicated, she just wants a curve. π
β RETURNS β
she gives you back the public key algorithm associated with the named curve, or β and listen, this is the important part β GNUTLS_PK_UNKNOWN if she doesn't know it. so if you get GNUTLS_PK_UNKNOWN, that's not a bug, that's her telling you "no thoughts, head empty, unknown curve." no cap. π
π SINCE π
3.5.0 β she's been here since 3.5.0, a true veteran of the game, lowkey a legend. π
π REPORTING BUGS π
found a bug? not me gatekeeping that, go tell the girlies:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
fr fr, they wanna hear about it. don't just suffer in silence in your group chat. π«Ά
π 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.
(that's the legal bit, and yes we keep it exactly as-is, because it's giving required, not giving optional. periodt.) π
π§ 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/
like, the whole Texinfo manual is right there, go read it, it's giving β¨comprehensiveβ¨.
okay that's the whole page bestie, hope your curves always resolve to something other than GNUTLS_PK_UNKNOWN π
this lil rewrite is serving you from the gnutls manual, version 3.8.13, dated gnutls_ecc_curve_get_pk(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