DSAManaged.VerifySignature Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9313)
VerifySignature(Byte[], Byte[])
Verifies the DSA signature for the specified data.
Declaration
public override bool VerifySignature(byte[] rgbHash, byte[] rgbSignature)Parameters
| Type | Name | Description | 
|---|---|---|
| Byte[] | rgbHash | The SHA1 hash of signed data to be verified. | 
| Byte[] | rgbSignature | The signature to be verified for rgbData. | 
Returns
| Type | Description | 
|---|---|
| Boolean | true if the signature verifies as valid; otherwise, false. | 
Overrides
Remarks
DSA signature is a pair of numbers r and s. The rgbSignature parameter must be 40 bytes long. Bytes 0..19 must contain the value of r, bytes 20..39 must contain the value of s.