Class EncryptorProducerBehavior
Encrypts the message according to the EncryptionSettings.
Inheritance
System.Object
EncryptorProducerBehavior
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Encryption
Assembly: Silverback.Integration.dll
Syntax
public class EncryptorProducerBehavior : IProducerBehavior, IBrokerBehavior, ISorted
Constructors
| Improve this doc View sourceEncryptorProducerBehavior(ISilverbackCryptoStreamFactory)
Initializes a new instance of the EncryptorProducerBehavior class.
Declaration
public EncryptorProducerBehavior(ISilverbackCryptoStreamFactory streamFactory)
Parameters
Type | Name | Description |
---|---|---|
ISilverbackCryptoStreamFactory | streamFactory |
Properties
| Improve this doc View sourceSortIndex
Declaration
public int SortIndex { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
| Improve this doc View sourceHandleAsync(ProducerPipelineContext, ProducerBehaviorHandler)
Declaration
public async Task HandleAsync(ProducerPipelineContext context, ProducerBehaviorHandler next)
Parameters
Type | Name | Description |
---|---|---|
ProducerPipelineContext | context | |
ProducerBehaviorHandler | next |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |