Partager via


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

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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

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

Syntax

'Declaration
Public MustOverride Function VerifySignature ( _
    rgbHash As Byte(), _
    rgbSignature As Byte() _
) As Boolean
public abstract bool VerifySignature(
    byte[] rgbHash,
    byte[] rgbSignature
)

Parameters

  • rgbHash
    Type: array<System.Byte[]
    The data signed with rgbSignature.
  • rgbSignature
    Type: array<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.

Remarks

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

Version Information

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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