RSAManaged.VerifyHash Method
Namespace: Rebex.Security.Cryptography
Assembly: Rebex.Common.dll (version 7.0.9119)
VerifyHash(Byte[], String, Byte[])
Verifies the specified signature data by comparing it to the signature computed for the specified hash value.
Declaration
public bool VerifyHash(byte[] rgbHash, string algorithm, byte[] rgbSignature)
Parameters
Type | Name | Description |
---|---|---|
Byte[] | rgbHash | The hash value of the signed data. |
String | algorithm | A hash algorithm used to create the hash value. |
Byte[] | rgbSignature | The signature data to be verified. |
Returns
Type | Description |
---|---|
Boolean | true if the signature verifies as valid; otherwise, false. |