Table of Contents

SignedMessage Constructor

Definition

SignedMessage(IMessage<T>, string)

Initializes a new instance of the SignedMessage<T> class.

public SignedMessage(IMessage<T> message, string signature)

Parameters

message IMessage<T>

The message to cryptographically sign.

signature string

The cryptographic signature of the message.

Exceptions

ArgumentNullException

message cannot be null - or - signature cannot be null.

ArgumentException

signature cannot be empty or consist only of white-space characters.