Show / Hide Table of Contents

    Class SymmetricEncryptionSettings

    The encryption settings used to encrypt the messages.

    Inheritance
    object
    SymmetricEncryptionSettingsBase
    SymmetricEncryptionSettings
    Implements
    IEquatable<SymmetricEncryptionSettingsBase>
    IEncryptionSettings
    IValidatableSettings
    IEquatable<SymmetricEncryptionSettings>
    Inherited Members
    SymmetricEncryptionSettingsBase.AlgorithmName
    SymmetricEncryptionSettingsBase.BlockSize
    SymmetricEncryptionSettingsBase.FeedbackSize
    SymmetricEncryptionSettingsBase.InitializationVector
    SymmetricEncryptionSettingsBase.Key
    SymmetricEncryptionSettingsBase.CipherMode
    SymmetricEncryptionSettingsBase.PaddingMode
    object.GetType()
    object.MemberwiseClone()
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    Namespace: Silverback.Messaging.Encryption
    Assembly: Silverback.Integration.dll
    Syntax
    public record SymmetricEncryptionSettings : SymmetricEncryptionSettingsBase, IEquatable<SymmetricEncryptionSettingsBase>, IEncryptionSettings, IValidatableSettings, IEquatable<SymmetricEncryptionSettings>

    Constructors

    SymmetricEncryptionSettings()

    The encryption settings used to encrypt the messages.

    Declaration
    public SymmetricEncryptionSettings()

    SymmetricEncryptionSettings(SymmetricEncryptionSettings)

    The encryption settings used to encrypt the messages.

    Declaration
    protected SymmetricEncryptionSettings(SymmetricEncryptionSettings original)
    Parameters
    Type Name Description
    SymmetricEncryptionSettings original

    Properties

    EqualityContract

    The encryption settings used to encrypt the messages.

    Declaration
    protected override Type EqualityContract { get; }
    Property Value
    Type Description
    Type
    Overrides
    SymmetricEncryptionSettingsBase.EqualityContract

    KeyIdentifier

    Gets the key identifier to be sent in the header (see EncryptionKeyId). It will be used on the consumer side to determine the correct key to be used to decrypt the message.

    Declaration
    public string? KeyIdentifier { get; init; }
    Property Value
    Type Description
    string

    Methods

    Equals(SymmetricEncryptionSettings?)

    The encryption settings used to encrypt the messages.

    Declaration
    public virtual bool Equals(SymmetricEncryptionSettings? other)
    Parameters
    Type Name Description
    SymmetricEncryptionSettings other
    Returns
    Type Description
    bool

    Equals(SymmetricEncryptionSettingsBase?)

    The encryption settings used to encrypt the messages.

    Declaration
    public override sealed bool Equals(SymmetricEncryptionSettingsBase? other)
    Parameters
    Type Name Description
    SymmetricEncryptionSettingsBase other
    Returns
    Type Description
    bool
    Overrides
    SymmetricEncryptionSettingsBase.Equals(SymmetricEncryptionSettingsBase?)

    Equals(object?)

    The encryption settings used to encrypt the messages.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    SymmetricEncryptionSettingsBase.Equals(object?)

    GetHashCode()

    The encryption settings used to encrypt the messages.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    SymmetricEncryptionSettingsBase.GetHashCode()

    PrintMembers(StringBuilder)

    The encryption settings used to encrypt the messages.

    Declaration
    protected override bool PrintMembers(StringBuilder builder)
    Parameters
    Type Name Description
    StringBuilder builder
    Returns
    Type Description
    bool
    Overrides
    SymmetricEncryptionSettingsBase.PrintMembers(StringBuilder)

    ToString()

    The encryption settings used to encrypt the messages.

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    SymmetricEncryptionSettingsBase.ToString()

    Validate()

    Throws a SilverbackConfigurationException if the configuration is not valid.

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

    Operators

    operator ==(SymmetricEncryptionSettings?, SymmetricEncryptionSettings?)

    The encryption settings used to encrypt the messages.

    Declaration
    public static bool operator ==(SymmetricEncryptionSettings? left, SymmetricEncryptionSettings? right)
    Parameters
    Type Name Description
    SymmetricEncryptionSettings left
    SymmetricEncryptionSettings right
    Returns
    Type Description
    bool

    operator !=(SymmetricEncryptionSettings?, SymmetricEncryptionSettings?)

    The encryption settings used to encrypt the messages.

    Declaration
    public static bool operator !=(SymmetricEncryptionSettings? left, SymmetricEncryptionSettings? right)
    Parameters
    Type Name Description
    SymmetricEncryptionSettings left
    SymmetricEncryptionSettings right
    Returns
    Type Description
    bool

    Implements

    IEquatable<T>
    IEncryptionSettings
    IValidatableSettings
    IEquatable<T>
    GitHub E-Mail
    ↑ Back to top © 2026 Sergio Aquilini