System::Security::Cryptography::RSA::VerifyHash method

RSA::VerifyHash method

Verifies that the signature of the specified hash is valid.

virtual bool System::Security::Cryptography::RSA::VerifyHash(ByteArrayPtr hash, ByteArrayPtr signature, const HashAlgorithmName &hash_algorithm, SharedPtr<RSASignaturePadding> padding)
ParameterTypeDescription
hashByteArrayPtrHash value of the signed data.
signatureByteArrayPtrSignature data.
hash_algorithmconst HashAlgorithmName&Hash algorithm.
paddingSharedPtr<RSASignaturePadding>Padding mode. return true if signature is valid, otherwise - false.

See Also