Mono Class Library: System.Security.Cryptography.DSACryptoServiceProvider Overview | Members

System.Security.Cryptography.DSACryptoServiceProvider.VerifyData Method

Process the SHA1 algorithm on the complete buffer specified then verify it's signature.

public bool VerifyData (byte[] rgbData, byte[] rgbSignature)

Parameters

rgbData
The data buffer to be hashed then verified.
rgbSignature
An array of 40 bytes containing the DSA signature of the specified hash.

Returns

True if the signature can be verified, false otherwise.

Remarks

The supplied data is hashed using the default SHA1 implementation then the signature is verified.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0