Class RabbitSslOption
The RabbitMQ SSL options configuration.
Implements
Inherited Members
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 |
---|---|
SslPolicyErrors? |
CertPassphrase
Gets or sets the path to client certificate.
Declaration
public string? CertPassphrase { get; set; }
Property Value
Type | Description |
---|---|
string |
CertPath
Gets or sets the path to client certificate.
Declaration
public string? CertPath { get; set; }
Property Value
Type | Description |
---|---|
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 |
---|---|
bool? |
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 |
---|---|
bool |
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 |
Version
Gets or sets the SSL protocol version.
Declaration
public SslProtocols Version { get; set; }
Property Value
Type | Description |
---|---|
SslProtocols |
Methods
| Improve this doc View sourceEquals(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 |
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
| Improve this doc View sourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
int | A hash code for the current object. |