DSAManaged.CreateSignature Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9119)
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
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.