VerifyData()

RSACryptoServiceProvider::VerifyData(const ByteArrayPtr&, const SharedPtr<Object>&, const ByteArrayPtr&) method

Checks data signature.

bool System::Security::Cryptography::RSACryptoServiceProvider::VerifyData(const ByteArrayPtr &buffer, const SharedPtr<Object> &halg, const ByteArrayPtr &signature)

Arguments

ParameterTypeDescription
bufferconst ByteArrayPtr&Data to check signature for.
halgconst SharedPtr<Object>&Hash algorithm to use.
signatureconst ByteArrayPtr&Signature as received.

Return Value

True if signature is valid, false otherwise.

See Also