CryptSignerVerifyData(Byte, Byte) 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#
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