gnutls_pubkey_verify_data2(3)
π gnutls_pubkey_verify_data2 π
okay bestie, welcome to the gnutls manual, this one's gnutls_pubkey_verify_data2(3) and it's giving cryptographic vibe check β¨
πΈ NAME πΈ
gnutls_pubkey_verify_data2 β it's an API function, no cap π«Ά
π SYNOPSIS π
#include <gnutls/abstract.h>
int gnutls_pubkey_verify_data2(gnutls_pubkey_t pubkey,
gnutls_sign_algorithm_t algo, unsigned int flags, const gnutls_datum_t *
data, const gnutls_datum_t * signature);
π¦ ARGUMENTS π¦
gnutls_pubkey_t pubkeyβ literally holds the public key, that's her whole job πgnutls_sign_algorithm_t algoβ the signature algorithm that got used, periodtunsigned int flagsβ zero, or an OR list ofgnutls_certificate_verify_flags(mix and match as you please)const gnutls_datum_t * dataβ holds the signed data π¦const gnutls_datum_t * signatureβ contains the signature, the whole point of the situation
β¨ DESCRIPTION β¨
so this function will verify the given signed data, using the parameters from the certificate. that's it, that's the move π₯
π RETURNS π
if the verification fails, you get GNUTLS_E_PK_SIG_VERIFY_FAILED back. and if it's a success? zero or a positive code, slay π
for signatures that are known to be insecure, this function returnsGNUTLS_E_INSUFFICIENT_SECURITYβ unless you specified the flagGNUTLS_VERIFY_ALLOW_BROKEN. so likeβ¦ you can, but bestie, be so serious rn π
β SINCE β
3.0 β she's been iconic since 3.0, iykyk
π REPORTING BUGS π
found a bug? report it to bugs@gnutls.org π§
home page: https://www.gnutls.org
π 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. π«Ά
π 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/
okay and that's the whole page bestie, no notes π this was gnutls version 3.8.13, and the manual page is gnutls_pubkey_verify_data2(3). go verify something iconic, 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