Click or drag to resize

MessageSignerVerifyData Method (Byte, Byte)

Verifies that the specified signature matches the specified hash.

Namespace:  SysadminsLV.PKI.Tools.MessageOperations
Assembly:  PKI.Core (in PKI.Core.dll) Version: 3.3.0.0 (3.3.0.0)
Syntax
public bool VerifyData(
	byte[] message,
	byte[] signature
)

Parameters

message
Type: SystemByte
The data that was signed.
signature
Type: SystemByte
The signature data to be verified.

Return Value

Type: Boolean
True if hash matches the one stored in signature, otherwise False.
Exceptions
ExceptionCondition
ArgumentNullExceptionmessage or signature parameter is null.
See Also