Table of Contents

SignedCloudEvent Constructor

Definition

SignedCloudEvent(ICloudEvent<T>, string)

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

public SignedCloudEvent(ICloudEvent<T> message, string signature)

Parameters

message ICloudEvent<T>

The cloud event to 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.