gnutls_x509_crq_verify(3)
π gnutls_x509_crq_verify(3) π
okay bestie, so this one lives in the gnutls manual β it's a whole page about verifying that a certificate request actually signed itself. yes queen, self-signature check. let's get into it β¨
β¨ NAME β¨
gnutls_x509_crq_verify β it's an API function, and it's here to check a crq's vibe (its self signature) π
π¦ SYNOPSIS π¦
#include <gnutls/x509.h>
int gnutls_x509_crq_verify(gnutls_x509_crq_t crq, unsigned int flags);
πΈ ARGUMENTS πΈ
gnutls_x509_crq_t crqβ this is the crq you want verified. the one getting the vibe check πunsigned int flagsβ flags that may be used to change the verification algorithm. use an OR of thegnutls_certificate_verify_flagsenumerations, k? π₯
π DESCRIPTION π
This function will verify the self signature in the certificate request and return its status. like, does this crq even vouch for itself? we're finding out π«Ά
π RETURNS π
If the verification fails, you get GNUTLS_E_PK_SIG_VERIFY_FAILED back. but if it succeeds? zero or a positive code, and honestly, slay πβ¨
Since 2.12.0 β an icon, a legend, been here forever fr fr
π REPORTING BUGS π
Found a bug? don't suffer in silence, tell the girlies:
- Report bugs 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. that's the deal, and it's a good deal π
β 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, bestie, just visit:
https://www.gnutls.org/manual/
go read it, iykyk π§
and that's the whole page, no cap. this was gnutls version 3.8.13, page gnutls_x509_crq_verify(3), and you're welcome π mwah, go verify some certificate requests π¦β¨
π¦ 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