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

Definition

Verifies if the specified digital signature matches the specified hash.

C#
public override bool VerifySignature(byte[] rgbHash, byte[] rgbSignature);

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

Tuote Versiot
.NET 6, 7, 8, 9, 10
.NET Standard 2.0 (package-provided)