Verify an RSASSA‐PKCS1‐v1_5 signature over digest m (deprecated).

Synopsis

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);
Warning

Deprecated. Use of this entity is allowed but discouraged.

Return Value

1 if the signature is valid, or 0 on failure.

Parameters

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.

Created with MrDocs