public class ReadOnlyClientSecurityConfig
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
hostnameVerificationAlgorithm |
protected java.lang.String |
hostNameVerificationHost |
protected int |
hostNameVerificationPort
Only valid if
hostNameVerificationHost is valid. |
protected java.util.function.Supplier<java.io.InputStream> |
keyCertChainSupplier |
protected javax.net.ssl.KeyManagerFactory |
keyManagerFactory |
protected java.lang.String |
keyPassword |
protected java.util.function.Supplier<java.io.InputStream> |
keySupplier |
protected java.lang.String |
sniHostname |
Modifier | Constructor and Description |
---|---|
protected |
ReadOnlyClientSecurityConfig(ReadOnlyClientSecurityConfig from)
Copy constructor.
|
protected |
ReadOnlyClientSecurityConfig(java.lang.String serverHostname,
int serverPort)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
hostnameVerificationAlgorithm()
Returns the host name verification algorithm.
|
java.lang.String |
hostnameVerificationHost()
Returns the host name verification host.
|
int |
hostnameVerificationPort()
Returns the host name verification port.
|
java.lang.String |
sniHostname()
Returns the SNI host name.
|
@Nullable protected java.lang.String hostnameVerificationAlgorithm
@Nullable protected java.lang.String hostNameVerificationHost
protected int hostNameVerificationPort
hostNameVerificationHost
is valid.@Nullable protected java.lang.String sniHostname
@Nullable protected javax.net.ssl.KeyManagerFactory keyManagerFactory
protected java.util.function.Supplier<java.io.InputStream> keyCertChainSupplier
protected java.util.function.Supplier<java.io.InputStream> keySupplier
@Nullable protected java.lang.String keyPassword
protected ReadOnlyClientSecurityConfig(java.lang.String serverHostname, int serverPort)
serverHostname
- Hostname for the server.serverPort
- Port for the server.protected ReadOnlyClientSecurityConfig(ReadOnlyClientSecurityConfig from)
from
- ReadOnlyClientSecurityConfig
to copy.@Nullable public java.lang.String hostnameVerificationAlgorithm()
@Nullable public java.lang.String hostnameVerificationHost()
public int hostnameVerificationPort()
@Nullable public java.lang.String sniHostname()