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

Definition

Verifies the DSA signature for the specified data.

public:
 override bool VerifySignature(cli::array <System::Byte> ^ rgbHash, cli::array <System::Byte> ^ rgbSignature);
public override bool VerifySignature (byte[] rgbHash, byte[] rgbSignature);
override this.VerifySignature : byte[] * byte[] -> bool
Public Overrides Function VerifySignature (rgbHash As Byte(), rgbSignature As Byte()) As Boolean

Parameters

rgbHash
Byte[]

The data signed with rgbSignature.

rgbSignature
Byte[]

The signature to be verified for rgbData.

Returns

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

Applies to

See also