Share via


VerifySignature Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Verifies the DSA signature for the specified data.

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

Syntax

'Declaration
Public Function VerifySignature ( _
    rgbHash As Byte(), _
    rgbSignature As Byte() _
) As Boolean
public bool VerifySignature(
    byte[] rgbHash,
    byte[] rgbSignature
)
public:
bool VerifySignature(
    array<unsigned char>^ rgbHash, 
    array<unsigned char>^ rgbSignature
)
member VerifySignature : 
        rgbHash:byte[] * 
        rgbSignature:byte[] -> bool 
public function VerifySignature(
    rgbHash : byte[], 
    rgbSignature : byte[]
) : boolean

Parameters

  • rgbSignature
    Type: array<System. . :: . .Byte> [] () [] []
    The signature to be verified for rgbData.

Return Value

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

.NET Framework Security

See Also

Reference

DSACryptoServiceProvider Class

System.Security.Cryptography Namespace