Verifies the specified signature data by comparing it to the signature computed for the specified hash value.

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

Syntax

Visual Basic
Public Function VerifyHash ( _
	rgbHash As Byte(), _
	rgbSignature As Byte() _
) As Boolean
C#
public bool VerifyHash(
	byte[] rgbHash,
	byte[] rgbSignature
)

Parameters

rgbHash
Type: array<System..::..Byte>[]()[][]
The hash value of the signed data.
rgbSignature
Type: array<System..::..Byte>[]()[][]
The signature data to be verified.

Return Value

true if the signature verifies as valid; otherwise, false.

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also