Class RabbitSslOption
The RabbitMQ SSL options configuration.
Inheritance
System.Object
RabbitSslOption
Implements
System.IEquatable<RabbitSslOption>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Silverback.Messaging.Configuration.Rabbit
Assembly: Silverback.Integration.RabbitMQ.dll
Syntax
public sealed class RabbitSslOption : IEquatable<RabbitSslOption>
Properties
| Improve this doc View sourceAcceptablePolicyErrors
Gets or sets the SSL policy errors that are deemed acceptable.
Declaration
public SslPolicyErrors? AcceptablePolicyErrors { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Net.Security.SslPolicyErrors> |
CertPassphrase
Gets or sets the path to client certificate.
Declaration
public string CertPassphrase { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CertPath
Gets or sets the path to client certificate.
Declaration
public string CertPath { get; set; }
Property Value
Type | Description |
---|---|
System.String |
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 |
---|---|
System.Nullable<System.Boolean> |
Remarks
Uses the built-in .NET mechanics for checking a certificate against CRLs.
Enabled
Gets or sets a value indicating whether SSL should indeed be used.
Declaration
public bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
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 |
---|---|
System.String |
Version
Gets or sets the SSL protocol version.
Declaration
public SslProtocols Version { get; set; }
Property Value
Type | Description |
---|---|
System.Security.Authentication.SslProtocols |
Methods
| Improve this doc View sourceEquals(RabbitSslOption)
Declaration
public bool Equals(RabbitSslOption other)
Parameters
Type | Name | Description |
---|---|---|
RabbitSslOption | other |
Returns
Type | Description |
---|---|
System.Boolean |
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
|
Improve this doc
View source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Implements
System.IEquatable<T>