Export (0) Print
Expand All

AsymmetricSignatureDeformatter.VerifySignature Method (Byte[], Byte[])

When overridden in a derived class, verifies the signature for the specified data.

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

public abstract bool VerifySignature(
	byte[] rgbHash,
	byte[] rgbSignature
)

Parameters

rgbHash
Type: System.Byte[]

The data signed with rgbSignature.

rgbSignature
Type: System.Byte[]

The signature to be verified for rgbHash.

Return Value

Type: System.Boolean
true if rgbSignature matches the signature computed using the specified hash algorithm and key on rgbHash; otherwise, false.

You must specify a public key and a hash algorithm before calling this method.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft