gnutls_x509_crt_verify_hash (3) - Linux Man Pages
gnutls_x509_crt_verify_hash: API function
NAMEgnutls_x509_crt_verify_hash - API function
- gnutls_x509_crt_t crt
- Holds the certificate
- unsigned int flags
- should be 0 for now
- const gnutls_datum_t * hash
- holds the hash digest to be verified
- const gnutls_datum_t * signature
- contains the signature
DESCRIPTIONThis function will verify the given signed digest, using the parameters from the certificate.
RETURNSIn case of a verification failure GNUTLS_E_PK_SIG_VERIFY_FAILED is returned, and zero or positive code on success.
REPORTING BUGSReport bugs to <bugs [at] gnutls.org>.
Home page: http://www.gnutls.org
COPYRIGHTCopyright © 2001-2014 Free Software Foundation, Inc..
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 ALSOThe full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form visit