[#EVP_PKEY_verify] = EVP_PKEY_verify :mrdocs: Verify a signature over `tbs` using an initialised key context. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_PKEY_verify( xref:EVP_PKEY_CTX.adoc[EVP_PKEY_CTX]* ctx, unsigned char const* sig, size_t siglen, unsigned char const* tbs, size_t tbslen); ---- == Return Value 1 if the signature is valid, 0 if invalid, or a negative value on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Context previously prepared with EVP_PKEY_verify_init() or _ex(). | *sig* | Signature bytes to verify. | *siglen* | Length of `sig` in bytes. | *tbs* | Data that was signed (typically a digest or raw message). | *tbslen* | Length of `tbs` in bytes. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#