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. [Edit]

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

Parameters

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

Returns

True if the signature can be verified, false otherwise. [Edit]

Remarks

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

Requirements

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