public class SslOptions extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SslOptions.Builder
Builder for
SslOptions . |
Modifier and Type | Field and Description |
---|---|
static SslProvider |
DEFAULT_SSL_PROVIDER |
Modifier | Constructor and Description |
---|---|
protected |
SslOptions(SslOptions.Builder builder) |
protected |
SslOptions(SslOptions original) |
Modifier and Type | Method and Description |
---|---|
static SslOptions.Builder |
builder()
Returns a new
SslOptions.Builder to construct SslOptions . |
static SslOptions |
copyOf(SslOptions options)
Create a copy of options
|
static SslOptions |
create()
Create a new
SslOptions using default settings. |
URL |
getKeystore() |
char[] |
getKeystorePassword() |
SslProvider |
getSslProvider() |
URL |
getTruststore() |
char[] |
getTruststorePassword() |
public static final SslProvider DEFAULT_SSL_PROVIDER
protected SslOptions(SslOptions.Builder builder)
protected SslOptions(SslOptions original)
public static SslOptions copyOf(SslOptions options)
options
- the originalSslOptions
containing the values of optionspublic static SslOptions.Builder builder()
SslOptions.Builder
to construct SslOptions
.SslOptions.Builder
to construct SslOptions
.public static SslOptions create()
SslOptions
using default settings.public SslProvider getSslProvider()
SslProvider
.public char[] getKeystorePassword()
public char[] getTruststorePassword()
Copyright © 2019 lettuce.io. All rights reserved.