gnutls_privkey_get_type(3)
β¨ gnutls_privkey_get_type(3) β¨
okay bestie, welcome to the gnutls manual, section 3 π this one's a lil function called gnutls_privkey_get_type and it's literally the "who dis" of private keys. let's get into it π«Ά
πΈ NAME πΈ
gnutls_privkey_get_type β an API function, and yes that's the whole name, she's simple and she knows it π
β¨ SYNOPSIS β¨
#include <gnutls/abstract.h>
gnutls_privkey_type_t gnutls_privkey_get_type(gnutls_privkey_t key);
like, that's it. one include, one function. no notes β¨
π ARGUMENTS π
gnutls_privkey_t keyβ this bad boy should contain agnutls_privkey_ttype. that's the whole vibe check: hand me a key, I tell you what it is π¦
π DESCRIPTION π
so this function will return the type of the private key. and here's the lil plot twist β it's actually the type of the subsystem that was used to set this private key. not the key's personality, not its star sign, just which subsystem put it there. main character energy of the whole key object, fr fr π
π RETURNS π
on success you get a member of the gnutls_privkey_type_t enumeration π
on error you get a negative error code β so if the number's negative, that's your sign something went sideways, no cap π
β SINCE β
2.12.0 β she's been iconic since way back, an OG π
π REPORTING BUGS π
found a bug? don't be shy, tell the devs:
- Report bugs to
<bugs@gnutls.org>. π§ - Home page:
https://www.gnutls.orgπ
fr fr if something's broken, report it β that's the group-chat move π«Ά
π 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: share it, remix it, 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/
like, that's the whole documentation rabbit hole β go explore, iykyk π¦
okay that's the page!! this was gnutls_privkey_get_type(3) from gnutls version 3.8.13 π go forth and vibe check your private keys, bestie β ily, bye!! πΈβ¨ππ«Άπ
π¦ 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