[#RSA_verify] = RSA_verify :mrdocs: Verify an RSASSA‐PKCS1‐v1_5 signature over digest `m` (deprecated). == Synopsis Declared in `<openssl/rsa.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] int RSA_verify( int type, unsigned char const* m, unsigned int m_length, unsigned char const* sigbuf, unsigned int siglen, xref:RSA.adoc[RSA]* rsa); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value 1 if the signature is valid, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *type* | Digest NID that was used to produce `m` (for example NID_sha256). | *m* | Message digest bytes that were signed. | *m_length* | Length of `m` in bytes. | *sigbuf* | Signature bytes to verify. | *siglen* | Length of `sigbuf` in bytes. | *rsa* | Signer's RSA public key. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#