Creates the DSA signature for the specified data.

Namespace:  Rebex.Security.Cryptography
Assembly:  Rebex.Common (in Rebex.Common.dll)

Syntax

Visual Basic
Public Overrides Function CreateSignature ( _
	rgbHash As Byte() _
) As Byte()
C#
public override byte[] CreateSignature(
	byte[] rgbHash
)

Parameters

rgbHash
Type: array<System..::..Byte>[]()[][]
The SHA1 hash of data to be signed.

Return Value

The DSA signature for the specified hash value.

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.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also