DSACryptoServiceProvider: VerifyHash

VerifyHash

Verifies the signature for the specified hash value.



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

Parameters

RgbHash
[ByRef] Byte. The hash value to verify the signature of.
Str
[ByVal] 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 VBCorLib Overview Class DSACryptoServiceProvider Overview DSACryptoServiceProvider Properties DSACryptoServiceProvider Methods VerifyData VerifySignature