Επεξεργασία

Κοινή χρήση μέσω


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

Definition

Verifies if the specified digital signature matches the specified hash.

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 signed hash.

rgbSignature
Byte[]

The digital signature to be verified.

Returns

true if rgbSignature matches the signature computed using the specified hash; otherwise, false.

Exceptions

The rgbHash or rgbSignature parameters are null.

Applies to