Constructor and Description |
---|
AkkaSSLConfig(ExtendedActorSystem system,
com.typesafe.sslconfig.ssl.SSLConfigSettings config) |
Modifier and Type | Method and Description |
---|---|
static AkkaSSLConfig |
apply(ActorSystem system) |
javax.net.ssl.HostnameVerifier |
buildHostnameVerifier(com.typesafe.sslconfig.ssl.SSLConfigSettings conf) |
com.typesafe.sslconfig.ssl.KeyManagerFactoryWrapper |
buildKeyManagerFactory(com.typesafe.sslconfig.ssl.SSLConfigSettings ssl) |
com.typesafe.sslconfig.ssl.TrustManagerFactoryWrapper |
buildTrustManagerFactory(com.typesafe.sslconfig.ssl.SSLConfigSettings ssl) |
com.typesafe.sslconfig.ssl.SSLConfigSettings |
config() |
java.lang.String[] |
configureCipherSuites(java.lang.String[] existingCiphers,
com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig) |
java.lang.String[] |
configureProtocols(java.lang.String[] existingProtocols,
com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig) |
AkkaSSLConfig |
convertSettings(java.util.function.Function<com.typesafe.sslconfig.ssl.SSLConfigSettings,com.typesafe.sslconfig.ssl.SSLConfigSettings> f)
Returns a new
AkkaSSLConfig instance with the settings changed by the given function. |
static AkkaSSLConfig |
createExtension(ExtendedActorSystem system) |
static com.typesafe.sslconfig.ssl.SSLConfigSettings |
defaultSSLConfigSettings(ActorSystem system) |
static AkkaSSLConfig |
get(ActorSystem system) |
javax.net.ssl.HostnameVerifier |
hostnameVerifier() |
static AkkaSSLConfig$ |
lookup() |
AkkaSSLConfig |
mapSettings(scala.Function1<com.typesafe.sslconfig.ssl.SSLConfigSettings,com.typesafe.sslconfig.ssl.SSLConfigSettings> f)
Returns a new
AkkaSSLConfig instance with the settings changed by the given function. |
DefaultSSLEngineConfigurator |
sslEngineConfigurator() |
void |
validateDefaultTrustManager(com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig) |
AkkaSSLConfig |
withSettings(com.typesafe.sslconfig.ssl.SSLConfigSettings c)
Can be used to modify the underlying config, most typically used to change a few values in the default config
|
public AkkaSSLConfig(ExtendedActorSystem system, com.typesafe.sslconfig.ssl.SSLConfigSettings config)
public static AkkaSSLConfig get(ActorSystem system)
public static AkkaSSLConfig apply(ActorSystem system)
public static AkkaSSLConfig$ lookup()
public static AkkaSSLConfig createExtension(ExtendedActorSystem system)
public static com.typesafe.sslconfig.ssl.SSLConfigSettings defaultSSLConfigSettings(ActorSystem system)
public com.typesafe.sslconfig.ssl.SSLConfigSettings config()
public AkkaSSLConfig withSettings(com.typesafe.sslconfig.ssl.SSLConfigSettings c)
public AkkaSSLConfig mapSettings(scala.Function1<com.typesafe.sslconfig.ssl.SSLConfigSettings,com.typesafe.sslconfig.ssl.SSLConfigSettings> f)
AkkaSSLConfig
instance with the settings changed by the given function.
Please note that the ActorSystem-wide extension always remains configured via typesafe config,
custom ones can be created for special-handling specific connectionsf
- (undocumented)public AkkaSSLConfig convertSettings(java.util.function.Function<com.typesafe.sslconfig.ssl.SSLConfigSettings,com.typesafe.sslconfig.ssl.SSLConfigSettings> f)
AkkaSSLConfig
instance with the settings changed by the given function.
Please note that the ActorSystem-wide extension always remains configured via typesafe config,
custom ones can be created for special-handling specific connections
Java API
f
- (undocumented)public javax.net.ssl.HostnameVerifier hostnameVerifier()
public DefaultSSLEngineConfigurator sslEngineConfigurator()
public com.typesafe.sslconfig.ssl.KeyManagerFactoryWrapper buildKeyManagerFactory(com.typesafe.sslconfig.ssl.SSLConfigSettings ssl)
public com.typesafe.sslconfig.ssl.TrustManagerFactoryWrapper buildTrustManagerFactory(com.typesafe.sslconfig.ssl.SSLConfigSettings ssl)
public javax.net.ssl.HostnameVerifier buildHostnameVerifier(com.typesafe.sslconfig.ssl.SSLConfigSettings conf)
public void validateDefaultTrustManager(com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig)
public java.lang.String[] configureProtocols(java.lang.String[] existingProtocols, com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig)
public java.lang.String[] configureCipherSuites(java.lang.String[] existingCiphers, com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig)