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 that NULL, because a NULL string is not gonna be your friend in a printf situation. 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:

fr fr they want to hear from you, bugs are a group project 🫢


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