Computes the signature for the specified hash value by signing it with the private key.

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

Syntax

Visual Basic
Public Function SignHash ( _
	rgbHash As Byte(), _
	algorithm As String _
) As Byte()
C#
public byte[] SignHash(
	byte[] rgbHash,
	string algorithm
)

Parameters

rgbHash
Type: array<System..::..Byte>[]()[][]
The hash of data to be signed.
algorithm
Type: System..::..String
A hash algorithm used to create the hash value.

Return Value

The RSA signature for the specified hash value.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also