Show / Hide Table of Contents

    Class SymmetricEncryptionSettingsBase

    The base class for symmetric encryption settings used to encrypt or decrypt the messages being sent through the message broker.

    Inheritance
    object
    EncryptionSettings
    SymmetricEncryptionSettingsBase
    SymmetricDecryptionSettings
    SymmetricEncryptionSettings
    Implements
    IValidatableEndpointSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Encryption
    Assembly: Silverback.Integration.dll
    Syntax
    public abstract class SymmetricEncryptionSettingsBase : EncryptionSettings, IValidatableEndpointSettings

    Properties

    | Improve this doc View source

    AlgorithmName

    Gets or sets the name of the specific implementation of the SymmetricAlgorithm class to use to encrypt or decrypt the messages.

    Declaration
    public string AlgorithmName { get; set; }
    Property Value
    Type Description
    string
    | Improve this doc View source

    BlockSize

    Gets or sets the block size, in bits, of the cryptographic operation.

    If null, the default value for the specified algorithm will be used.

    Declaration
    public int? BlockSize { get; set; }
    Property Value
    Type Description
    int?
    | Improve this doc View source

    CipherMode

    Gets or sets the mode for operation of the symmetric algorithm.

    If null, the default value for the specified algorithm will be used.

    Declaration
    public CipherMode? CipherMode { get; set; }
    Property Value
    Type Description
    CipherMode?
    | Improve this doc View source

    FeedbackSize

    Gets or sets the feedback size, in bits, of the cryptographic operation for the Cipher Feedback (CFB) and Output Feedback (OFB) cipher modes.

    If null, the default value for the specified algorithm will be used.

    Declaration
    public int? FeedbackSize { get; set; }
    Property Value
    Type Description
    int?
    | Improve this doc View source

    InitializationVector

    Gets or sets the optional initialization vector (IV) for the symmetric algorithm.

    Important: If null no fixed IV is provided and the producer will automatically generate a random one for each message that will also be prepended to the actual encrypted message to be available to the consumer.

    Declaration
    public byte[]? InitializationVector { get; set; }
    Property Value
    Type Description
    byte[]
    | Improve this doc View source

    Key

    Gets or sets the secret key for the symmetric algorithm.

    Declaration
    public byte[]? Key { get; set; }
    Property Value
    Type Description
    byte[]
    | Improve this doc View source

    PaddingMode

    Gets or sets the padding mode used in the symmetric algorithm.

    If null, the default value for the specified algorithm will be used.

    Declaration
    public PaddingMode? PaddingMode { get; set; }
    Property Value
    Type Description
    PaddingMode?

    Methods

    | Improve this doc View source

    Validate()

    Throws an EndpointConfigurationException if the current configuration is not valid.

    Declaration
    public override void Validate()
    Overrides
    EncryptionSettings.Validate()

    Implements

    IValidatableEndpointSettings
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini