Table of Contents

Class SignedCloudEvent<T>

Namespace
Savvyio.EventDriven.Messaging.CloudEvents.Cryptography
Assembly
Savvyio.EventDriven.Messaging.dll

Provides a default implementation of the ISignedCloudEvent<T> interface.

public class SignedCloudEvent<T> : CloudEvent<T>, IEquatable<Acknowledgeable>, IEquatable<CloudEvent>, IEquatable<CloudEvent<T>>, ISignedCloudEvent<T>, ICloudEvent<T>, IDictionary<string, object>, ICollection<KeyValuePair<string, object>>, IEnumerable<KeyValuePair<string, object>>, IEnumerable, ISignedMessage<T>, IMessage<T>, IAcknowledgeable, IEquatable<SignedCloudEvent<T>> where T : IIntegrationEvent

Type Parameters

T

The type of the payload constraint to the IIntegrationEvent interface.

Inheritance
Object
SignedCloudEvent<T>
Implements
IEquatable<Acknowledgeable>
IEquatable<CloudEvent>
IEquatable<CloudEvent<T>>
IDictionary<String, Object>
ICollection<KeyValuePair<String, Object>>
IEnumerable<KeyValuePair<String, Object>>
IEnumerable
IEquatable<SignedCloudEvent<T>>
Inherited Members
Extension Methods

Constructors

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

System.ArgumentNullException

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

ArgumentException

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

Properties

Signature

Gets the cryptographic signature of the message.

public string Signature { get; }

Property Value

String

The cryptographic signature of the message.

See Also