Class PekkoSSLConfig

  • All Implemented Interfaces:
    Extension

    public final class PekkoSSLConfig
    extends java.lang.Object
    implements Extension
    Deprecated.
    Use Tcp and TLS with SSLEngine parameters instead. Setup the SSLEngine with needed parameters. Since Akka 2.6.0.
    • Constructor Detail

      • PekkoSSLConfig

        public PekkoSSLConfig​(ExtendedActorSystem system,
                              com.typesafe.sslconfig.ssl.SSLConfigSettings config)
        Deprecated.
    • Method Detail

      • defaultSSLConfigSettings

        public static com.typesafe.sslconfig.ssl.SSLConfigSettings defaultSSLConfigSettings​(ActorSystem system)
        Deprecated.
      • hashCode

        public static final int hashCode()
        Deprecated.
      • equals

        public static final boolean equals​(java.lang.Object other)
        Deprecated.
      • config

        public com.typesafe.sslconfig.ssl.SSLConfigSettings config()
        Deprecated.
      • withSettings

        public PekkoSSLConfig withSettings​(com.typesafe.sslconfig.ssl.SSLConfigSettings c)
        Deprecated.
        Can be used to modify the underlying config, most typically used to change a few values in the default config
      • mapSettings

        public PekkoSSLConfig mapSettings​(scala.Function1<com.typesafe.sslconfig.ssl.SSLConfigSettings,​com.typesafe.sslconfig.ssl.SSLConfigSettings> f)
        Deprecated.
        Returns a new PekkoSSLConfig 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
      • convertSettings

        public PekkoSSLConfig convertSettings​(java.util.function.Function<com.typesafe.sslconfig.ssl.SSLConfigSettings,​com.typesafe.sslconfig.ssl.SSLConfigSettings> f)
        Deprecated.
        Returns a new PekkoSSLConfig 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

      • hostnameVerifier

        public javax.net.ssl.HostnameVerifier hostnameVerifier()
        Deprecated.
      • useJvmHostnameVerification

        public boolean useJvmHostnameVerification()
        Deprecated.
        INTERNAL API
      • buildKeyManagerFactory

        public com.typesafe.sslconfig.ssl.KeyManagerFactoryWrapper buildKeyManagerFactory​(com.typesafe.sslconfig.ssl.SSLConfigSettings ssl)
        Deprecated.
      • buildTrustManagerFactory

        public com.typesafe.sslconfig.ssl.TrustManagerFactoryWrapper buildTrustManagerFactory​(com.typesafe.sslconfig.ssl.SSLConfigSettings ssl)
        Deprecated.
      • buildHostnameVerifier

        public javax.net.ssl.HostnameVerifier buildHostnameVerifier​(com.typesafe.sslconfig.ssl.SSLConfigSettings conf)
        Deprecated.
      • validateDefaultTrustManager

        public void validateDefaultTrustManager​(com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig)
        Deprecated.
        validateDefaultTrustManager is not doing anything since akka 2.6.19 and should not be used. Since Akka 2.6.19.
      • configureProtocols

        public java.lang.String[] configureProtocols​(java.lang.String[] existingProtocols,
                                                     com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig)
        Deprecated.
      • configureCipherSuites

        public java.lang.String[] configureCipherSuites​(java.lang.String[] existingCiphers,
                                                        com.typesafe.sslconfig.ssl.SSLConfigSettings sslConfig)
        Deprecated.