VerifySignature Method (HashAlgorithm, Byte[])
Collapse the table of content
Expand the table of content

AsymmetricSignatureDeformatter.VerifySignature Method (HashAlgorithm, Byte())

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

Verifies the signature from the specified hash value.

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

'Declaration
Public Overridable Function VerifySignature ( _
	hash As HashAlgorithm, _
	rgbSignature As Byte() _
) As Boolean

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 Nothing.

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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1

Windows Phone

Show:
© 2017 Microsoft