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

DSAManaged.CreateSignature Method

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

CreateSignature(Byte[])

Creates the DSA signature for the specified data.

Declaration
public override byte[] CreateSignature(byte[] rgbHash)
Parameters
Type Name Description
Byte[] rgbHash

The SHA1 hash of data to be signed.

Returns
Type Description
Byte[]

The DSA signature for the specified hash value.

Overrides
DSA.CreateSignature(Byte[])
Remarks

DSA signature is a pair of numbers r and s. This method always returns an array of 40 bytes. Bytes 0..19 contain the value of r, bytes 20..39 contain the value of s.

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