GNUTLS_SIGN_SUPPORTS_PK_ALGORITHM(3)
π NAME π
gnutls_sign_supports_pk_algorithm β bestie, this is an API function and it's here to answer one very specific "are y'all compatible?" question π
This one lives in the gnutls manual, so you already know it's about TLS and crypto and all that good stuff.
β¨ SYNOPSIS β¨
#include <gnutls/gnutls.h>
unsigned gnutls_sign_supports_pk_algorithm(gnutls_sign_algorithm_t sign,
gnutls_pk_algorithm_t pk);
okay so that's the whole vibe right there π«Ά two inputs, one unsigned coming back out.
π ARGUMENTS π
gnutls_sign_algorithm_t signβ is a signature algorithm, like, that's literally what it is π¦gnutls_pk_algorithm_t pkβ is a public key algorithm, same energy, different type πΈ
π DESCRIPTION π
This function returns non-zero if the public key algorithm corresponds to the given signature algorithm. That is, if that signature can be generated from the given private key algorithm. no cap, that's the whole plot π
So like... you hand it a signature algorithm and a public key algorithm, and it tells you whether they're a match. it's giving compatibility check, it's giving "do these two even go together" π§
β SINCE β
3.6.0 β been around since then, an icon, a legend π
π RETURNS π
return non-zero when the provided algorithms are compatible. and if they're not compatible? you get zero, which is also technically a value, and that's on β¨ booleans β¨
π REPORTING BUGS π
Found a bug? not me being the one to tell you, but fr fr, report bugs to <bugs@gnutls.org> π§
Home page: https://www.gnutls.org β go peek, it's cute π¦
π 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. yes bestie, that's the legal bit and we respect it π
π 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, go read the real thing, it's right there π₯
okay that's the whole page, mwah π this was gnutls, version 3.8.13, and yeah the date situation is just that classic manpage footer energy β stay compatible, stay iconic, periodt πΈ
π¦ 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