DSACryptoServiceProvider: VerifyHash

VerifyHash

Verifies the signature for the specified hash value.



 Public Function VerifyHash(
	  ByRef RgbHash ( ) As Byte,
	  ByRef Str As String,
	  ByRef Signature ( ) As Byte ) As Boolean

Parameters

RgbHash
[ByRef] Byte. The hash value to verify the signature of.
Str
[ByRef] String. The type of hash used to create the hash value.
Signature
[ByRef] Byte. The signature to be verified.

Return Values

Boolean -  Returns True if the signature is valid for the hash value, False otherwise.

Remarks

Only SHA1 hash values are supported.

See Also

Project CorLib Overview

Class DSACryptoServiceProvider Overview