MessageSignerVerifyData(Byte, Byte) Method

Verifies that the specified signature matches the specified hash.

Definition

Namespace: SysadminsLV.PKI.Tools.MessageOperations
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public 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.

Implements

ICryptSignerVerifyData(Byte, Byte)

Exceptions

ArgumentNullExceptionmessage or signature parameter is null.

See Also