Export (0) Print
Expand All

AsymmetricSignatureDeformatter.VerifySignature Method (HashAlgorithm, Byte[])

Verifies the signature from the specified hash value.

Namespace:  System.Security.Cryptography
Assembly:  mscorlib.Extensions (in mscorlib.Extensions.dll)

public virtual bool VerifySignature(
	HashAlgorithm hash,
	byte[] rgbSignature
)

Parameters

hash
Type: System.Security.Cryptography.HashAlgorithm
The hash algorithm to use to verify the signature.
rgbSignature
Type: System.Byte[]
The signature to be verified.

Return Value

Type: System.Boolean
true if the signature is valid for the hash; otherwise, false.

ExceptionCondition
ArgumentNullException

The hash parameter is null.

This method sets the hash algorithm to be used before verifying the signature of the input hash algorithm value.

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show:
© 2014 Microsoft