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 the gnutls_certificate_verify_flags enumerations, 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:


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