Package akka.remote.transport.netty
Class ConfigSSLEngineProvider
- java.lang.Object
-
- akka.remote.transport.netty.ConfigSSLEngineProvider
-
- All Implemented Interfaces:
SSLEngineProvider
public class ConfigSSLEngineProvider extends java.lang.Object implements SSLEngineProvider
Subclass may override to customize loading ofKeyStore
-
-
Constructor Summary
Constructors Constructor Description ConfigSSLEngineProvider(ActorSystem system)
ConfigSSLEngineProvider(MarkerLoggingAdapter log, SSLSettings settings)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.net.ssl.SSLEngine
createClientSSLEngine()
java.security.SecureRandom
createSecureRandom()
javax.net.ssl.SSLEngine
createServerSSLEngine()
protected javax.net.ssl.KeyManager[]
keyManagers()
Subclass may override to customizeKeyManager
protected java.security.KeyStore
loadKeystore(java.lang.String filename, java.lang.String password)
Subclass may override to customize loading ofKeyStore
protected MarkerLoggingAdapter
log()
protected javax.net.ssl.TrustManager[]
trustManagers()
Subclass may override to customizeTrustManager
-
-
-
Constructor Detail
-
ConfigSSLEngineProvider
public ConfigSSLEngineProvider(MarkerLoggingAdapter log, SSLSettings settings)
-
ConfigSSLEngineProvider
public ConfigSSLEngineProvider(ActorSystem system)
-
-
Method Detail
-
createClientSSLEngine
public javax.net.ssl.SSLEngine createClientSSLEngine()
- Specified by:
createClientSSLEngine
in interfaceSSLEngineProvider
-
createSecureRandom
public java.security.SecureRandom createSecureRandom()
-
createServerSSLEngine
public javax.net.ssl.SSLEngine createServerSSLEngine()
- Specified by:
createServerSSLEngine
in interfaceSSLEngineProvider
-
keyManagers
protected javax.net.ssl.KeyManager[] keyManagers()
Subclass may override to customizeKeyManager
- Returns:
- (undocumented)
-
loadKeystore
protected java.security.KeyStore loadKeystore(java.lang.String filename, java.lang.String password)
Subclass may override to customize loading ofKeyStore
- Parameters:
filename
- (undocumented)password
- (undocumented)- Returns:
- (undocumented)
-
log
protected MarkerLoggingAdapter log()
-
trustManagers
protected javax.net.ssl.TrustManager[] trustManagers()
Subclass may override to customizeTrustManager
- Returns:
- (undocumented)
-
-