Class ConfigSSLEngineProvider
java.lang.Object
org.apache.pekko.remote.artery.tcp.ConfigSSLEngineProvider
- All Implemented Interfaces:
SSLEngineProvider
Config in pekko.remote.artery.ssl.config-ssl-engine
Subclass may override protected methods to replace certain parts, such as key and trust manager.
-
Constructor Summary
ConstructorsConstructorDescriptionConfigSSLEngineProvider(com.typesafe.config.Config config, MarkerLoggingAdapter log) ConfigSSLEngineProvider(ActorSystem system) -
Method Summary
Modifier and TypeMethodDescriptionprotected com.typesafe.config.Configconfig()createClientSSLEngine(String hostname, int port) createServerSSLEngine(String hostname, int port) booleanprotected KeyManager[]Subclass may override to customizeKeyManagerprotected KeyStoreloadKeystore(String filename, String password) Subclass may override to customize loading ofKeyStoreprotected MarkerLoggingAdapterlog()scala.collection.immutable.Set<String>booleanprotected TrustManager[]Subclass may override to customizeTrustManagerscala.Option<Throwable>verifyClientSession(String hostname, SSLSession session) Verification that will be called after every successful handshake to verify additional session information.scala.Option<Throwable>verifyServerSession(String hostname, SSLSession session) Verification that will be called after every successful handshake to verify additional session information.
-
Constructor Details
-
ConfigSSLEngineProvider
-
ConfigSSLEngineProvider
-
-
Method Details
-
HostnameVerification
public boolean HostnameVerification() -
SSLEnabledAlgorithms
-
SSLKeyPassword
-
SSLKeyStore
-
SSLKeyStorePassword
-
SSLProtocol
-
SSLRandomNumberGenerator
-
SSLRequireMutualAuthentication
public boolean SSLRequireMutualAuthentication() -
SSLTrustStore
-
SSLTrustStorePassword
-
config
protected com.typesafe.config.Config config() -
createClientSSLEngine
- Specified by:
createClientSSLEnginein interfaceSSLEngineProvider
-
createSecureRandom
-
createServerSSLEngine
- Specified by:
createServerSSLEnginein interfaceSSLEngineProvider
-
keyManagers
Subclass may override to customizeKeyManager -
loadKeystore
Subclass may override to customize loading ofKeyStore -
log
-
trustManagers
Subclass may override to customizeTrustManager -
verifyClientSession
Description copied from interface:SSLEngineProviderVerification that will be called after every successful handshake to verify additional session information. ReturnNoneif valid otherwiseSomewith explaining cause.- Specified by:
verifyClientSessionin interfaceSSLEngineProvider
-
verifyServerSession
Description copied from interface:SSLEngineProviderVerification that will be called after every successful handshake to verify additional session information. ReturnNoneif valid otherwiseSomewith explaining cause.- Specified by:
verifyServerSessionin interfaceSSLEngineProvider
-