Verify an RSASSA-PKCS1-v1_5 signature over digest m (deprecated).
Declared in <openssl/rsa.h>
[[deprecated]]
int
RSA_verify(
int type,
unsigned char const* m,
unsigned int m_length,
unsigned char const* sigbuf,
unsigned int siglen,
RSA* rsa);
Deprecated. Use of this entity is allowed but discouraged.
1 if the signature is valid, or 0 on failure.
| 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. |