protected class TLSTM.DefaultSSLEngineConfiguration extends java.lang.Object implements TLSTM.SSLEngineConfigurator
Modifier and Type | Field and Description |
---|---|
private javax.net.ssl.TrustManager[] |
trustManagers |
Modifier | Constructor and Description |
---|---|
protected |
DefaultSSLEngineConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
configure(javax.net.ssl.SSLEngine sslEngine)
Configure the supplied SSLEngine for TLS.
|
private void |
filterCertificates(java.security.KeyStore ks,
TransportStateReference transportStateReference) |
javax.net.ssl.SSLContext |
getSSLContext(boolean useClientMode,
TransportStateReference transportStateReference)
Gets the SSLContext for this SSL connection.
|
public void configure(javax.net.ssl.SSLEngine sslEngine)
TLSTM.SSLEngineConfigurator
configure
in interface TLSTM.SSLEngineConfigurator
sslEngine
- a SSLEngine
to configure.public javax.net.ssl.SSLContext getSSLContext(boolean useClientMode, TransportStateReference transportStateReference)
TLSTM.SSLEngineConfigurator
getSSLContext
in interface TLSTM.SSLEngineConfigurator
useClientMode
- true
if the connection is established in client mode.transportStateReference
- the transportStateReference with additional
security information for the SSL connection
to establish.private void filterCertificates(java.security.KeyStore ks, TransportStateReference transportStateReference)