ICryptSignerVerifyData Method

Verifies that the specified signature matches the specified hash.

Definition

Namespace: SysadminsLV.PKI.Cryptography
Assembly: SysadminsLV.PKI (in SysadminsLV.PKI.dll) Version: 4.0.1
C#
bool VerifyData(
	byte[] message,
	byte[] signature
)

Parameters

message  Byte
The data that was signed.
signature  Byte
The signature data to be verified.

Return Value

Boolean
True if hash matches the one stored in signature, otherwise False.

Exceptions

ArgumentNullExceptionmessage or signature parameter is null.

See Also