Table of Contents

Namespace Savvyio.EventDriven.Messaging.CloudEvents.Cryptography

Assembly: Savvyio.Core.dll

Receivers of CloudEvents need cryptographic proof that the event has not been altered in transit. The Savvyio.EventDriven.Messaging.CloudEvents.Cryptography namespace provides signing and verification for ICloudEvent<T> through SignedCloudEvent<T>.

Start with CloudEventExtensions.SignCloudEvent<T> to produce a SignedCloudEvent<T> with an attached signature. On the consumer side, call SignedCloudEventExtensions.CheckCloudEventSignature<T> to verify authenticity before processing. Use this namespace alongside Savvyio.EventDriven.Messaging.CloudEvents; for plain message signing without CloudEvents, see Savvyio.Messaging.Cryptography.

Availability: .NET 10 and .NET 9

Extension Members

Type Ext Methods
ICloudEvent ⬇️ SignCloudEvent<T>
ISignedCloudEvent ⬇️ CheckCloudEventSignature<T>

Classes

CloudEventExtensions

Extension methods for the ICloudEvent<T> interface.

SignedCloudEventExtensions

Extension methods for the ICloudEvent<T> interface.

SignedCloudEvent<T>

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

Interfaces

ISignedCloudEvent<T>

Defines a generic way to wrap an IRequest inside a CloudEvents compliant message format.