Show / Hide Table of Contents

    Class RabbitSslOption

    The RabbitMQ SSL options configuration.

    Inheritance
    object
    RabbitSslOption
    Implements
    IEquatable<RabbitSslOption>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Silverback.Messaging.Configuration.Rabbit
    Assembly: Silverback.Integration.RabbitMQ.dll
    Syntax
    public sealed class RabbitSslOption : IEquatable<RabbitSslOption>

    Properties

    | Improve this doc View source

    AcceptablePolicyErrors

    Gets or sets the SSL policy errors that are deemed acceptable.

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

    CertPassphrase

    Gets or sets the path to client certificate.

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

    CertPath

    Gets or sets the path to client certificate.

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

    CheckCertificateRevocation

    Gets or sets a value indicating whether the peer certificate should be checked for revocation. The default is false.

    Declaration
    public bool? CheckCertificateRevocation { get; set; }
    Property Value
    Type Description
    bool?
    Remarks

    Uses the built-in .NET mechanics for checking a certificate against CRLs.

    | Improve this doc View source

    Enabled

    Gets or sets a value indicating whether SSL should indeed be used.

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

    ServerName

    Gets or sets the Canonical Name of the server. This MUST match the CN on the certificate otherwise the SSL connection will fail.

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

    Version

    Gets or sets the SSL protocol version.

    Declaration
    public SslProtocols Version { get; set; }
    Property Value
    Type Description
    SslProtocols

    Methods

    | Improve this doc View source

    Equals(RabbitSslOption?)

    Indicates whether the current object is equal to another object of the same type.

    Declaration
    public bool Equals(RabbitSslOption? other)
    Parameters
    Type Name Description
    RabbitSslOption other

    An object to compare with this object.

    Returns
    Type Description
    bool

    true if the current object is equal to the other parameter; otherwise, false.

    | Improve this doc View source

    Equals(object?)

    Determines whether the specified object is equal to the current object.

    Declaration
    public override bool Equals(object? obj)
    Parameters
    Type Name Description
    object obj

    The object to compare with the current object.

    Returns
    Type Description
    bool

    true if the specified object is equal to the current object; otherwise, false.

    Overrides
    object.Equals(object)
    | Improve this doc View source

    GetHashCode()

    Serves as the default hash function.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    A hash code for the current object.

    Overrides
    object.GetHashCode()

    Implements

    IEquatable<T>
    • Improve this doc
    • View source
    GitHub E-Mail
    ↑ Back to top © 2020 Sergio Aquilini