VerifyHash()

DSACryptoServiceProvider::VerifyHash(const ByteArrayPtr&, const String&, const ByteArrayPtr&) method

Checks data signature.

bool System::Security::Cryptography::DSACryptoServiceProvider::VerifyHash(const ByteArrayPtr &rgb_hash, const String &str, const ByteArrayPtr &rgb_signature)

Arguments

ParameterTypeDescription
rgb_hashconst ByteArrayPtr&Hash calculated for received data.
strconst String&Name of hash algorithm used.
rgb_signatureconst ByteArrayPtr&Signature as received.

Return Value

True if signature is valid, false otherwise.

See Also