public class SslConfig
extends java.lang.Object
| Modifier and Type | Class and Description |
|---|---|
static class |
SslConfig.Builder
The Builder class for SslConfig.
|
static class |
SslConfig.KeystoreType |
static class |
SslConfig.TruststoreType |
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
DEFAULT_ENABLED_PROTOCOLS |
static java.lang.String |
DEFAULT_SSL_PROTOCOL |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
boolean |
getEnableHostnameVerification()
Check whether hostname verification is enabled.
|
boolean |
getEnableValidateTruststore()
Checks whether the validation of expired or not yet valid certification is enabled.
|
PasswordConfig |
getKeyPassword()
Gets the password to access the private key in the keystore.
|
java.lang.String |
getKeystoreLocation()
Gets the keystore location, being either a path name to a locally stored keystore, or a
location to a resource bundled in the application's binary.
|
PasswordConfig |
getKeystorePassword()
Gets the password to access the keystore.
|
SslConfig.KeystoreType |
getKeystoreType() |
java.lang.String |
getSslProtocol()
Gets configured SSL protocols.
|
java.lang.String |
getTruststoreLocation()
Gets the truststore location, being either a path name to a locally stored truststore, or a
location to a resource bundled in the application's binary.
|
PasswordConfig |
getTruststorePassword()
Gets the password to access the truststore.
|
SslConfig.TruststoreType |
getTruststoreType() |
int |
hashCode() |
static SslConfig.Builder |
newBuilder()
Creates a new builder for SslConfig
|
static SslConfig.Builder |
newBuilder(SslConfig original)
Creates a new builder for SslConfig based on the original SslConfig.
|
java.lang.String |
toString() |
public static final java.lang.String DEFAULT_SSL_PROTOCOL
public static final java.lang.String DEFAULT_ENABLED_PROTOCOLS
public static SslConfig.Builder newBuilder()
public static SslConfig.Builder newBuilder(SslConfig original)
original - The configuration from which the builder values will be populatedpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Objectpublic SslConfig.KeystoreType getKeystoreType()
public SslConfig.TruststoreType getTruststoreType()
public PasswordConfig getKeyPassword()
public java.lang.String getKeystoreLocation()
public PasswordConfig getKeystorePassword()
public java.lang.String getTruststoreLocation()
public PasswordConfig getTruststorePassword()
public java.lang.String getSslProtocol()
public boolean getEnableHostnameVerification()
public boolean getEnableValidateTruststore()
Copyright © 2020 Axual B.V.. All rights reserved.