gnutls_group_get_id(3)

πŸ’– gnutls_group_get_id(3) πŸ’–

okay bestie, welcome to the gnutls manual, bestie. this one's a lil function called gnutls_group_get_id, and it's literally the cutest lil lookup table you ever did see. let's get into it πŸŽ€


✨ NAME ✨

gnutls_group_get_id β€” API function. that's it, that's the name, she's simple and she knows it πŸ’…


🌸 SYNOPSIS 🌸

#include <gnutls/gnutls.h>

gnutls_group_t gnutls_group_get_id(const char * name);

look at her. one include, one function, zero drama πŸ¦‹


🫢 ARGUMENTS 🫢

  • const char * name β€” bestie, this is a group name. that's the whole vibe. you hand her a string that's supposed to be a group name and she does her lil thing ✨

πŸ‘‘ DESCRIPTION πŸ‘‘

so like, the whole point: you give her a name, she goes and finds the matching group for you. and here's the cute part β€” the names are compared in a case insensitive way. so "SECP256R1", "secp256r1", "SeCp256R1"? all the same to her, she does not care about your capitalisation choices, she's not judging, she's just matching πŸ’– no cap.


⭐ RETURNS ⭐

she returns a gnutls_group_t value corresponding to the group you specified. iconic. but β€” if something goes sideways, she returns GNUTLS_GROUP_INVALID on error. so like, always check, bestie, don't just assume she ate 😭


πŸŽ€ SINCE πŸŽ€

3.6.0 β€” she's been around, she's a legacy icon, respect her πŸ’œ


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, bestie, tell the people:


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.


πŸ”₯ 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/


ngl if you skipped the SEE ALSO you're missing the whole extended universe, go read the Texinfo manual, it's giving encyclopedia but make it gnutls 🌈

and that's the whole page, bestie!! you understood it, you slayed it, main character energy fr fr. go forth and look up your groups πŸ’…βœ¨

this has been gnutls_group_get_id(3) from the gnutls manual, version 3.8.13. mwah, bye 🫢🌸

πŸ“¦ where this page comes from