Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

DSAManaged.VerifySignature Method

Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9147)

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
DSA.VerifySignature(Byte[], Byte[])
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.

In This Article
  • VerifySignature(Byte[], Byte[])
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies