System::Security::Cryptography::RSACryptoServiceProvider::VerifyData method

RSACryptoServiceProvider::VerifyData method

Checks data signature.

bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyData(const ByteArrayPtr &buffer, const SharedPtr<Object> &halg, const ByteArrayPtr &signature)
ParameterTypeDescription
bufferconst ByteArrayPtr&Data to check signature for.
halgconst SharedPtr<Object>&Hash algorithm to use.
signatureconst ByteArrayPtr&Signature as received.

ReturnValue

True if signature is valid, false otherwise.

See Also