Class SslOptions
Represents transport-level encryption options.
Inherited Members
Namespace: DotNext.Net.Security
Assembly: DotNext.Net.Cluster.dll
Syntax
public class SslOptions
Constructors
| Improve this Doc View SourceSslOptions()
Initializes empty SSL options for server and client.
Declaration
public SslOptions()
SslOptions(SslServerAuthenticationOptions, SslClientAuthenticationOptions)
Initializes a new SSL options with preconfigured options for server and client.
Declaration
public SslOptions(SslServerAuthenticationOptions serverOptions, SslClientAuthenticationOptions clientOptions)
Parameters
| Type | Name | Description |
|---|---|---|
| SslServerAuthenticationOptions | serverOptions | Server-side SSL options. |
| SslClientAuthenticationOptions | clientOptions | Client-side SSL options. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|
Properties
| Improve this Doc View SourceClientOptions
Gets client-side options.
Declaration
public SslClientAuthenticationOptions ClientOptions { get; }
Property Value
| Type | Description |
|---|---|
| SslClientAuthenticationOptions |
ServerOptions
Gets server-side options.
Declaration
public SslServerAuthenticationOptions ServerOptions { get; }
Property Value
| Type | Description |
|---|---|
| SslServerAuthenticationOptions |