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(), _ algorithm As String, _ rgbSignature As Byte() _ ) As Boolean |
C# |
---|
public bool VerifyHash( byte[] rgbHash, string algorithm, byte[] rgbSignature ) |
Parameters
- rgbHash
- Type: array<System..::..Byte>[]()[][]
The hash value of the signed data.
- algorithm
- Type: System..::..String
A hash algorithm used to create the hash value.
- rgbSignature
- Type: array<System..::..Byte>[]()[][]
The signature data to be verified.