Class ConfigSSLEngineProvider

  • All Implemented Interfaces:
    SSLEngineProvider

    public class ConfigSSLEngineProvider
    extends java.lang.Object
    implements SSLEngineProvider
    Config in akka.remote.artery.ssl.config-ssl-engine

    Subclass may override protected methods to replace certain parts, such as key and trust manager.

    • Constructor Detail

      • ConfigSSLEngineProvider

        public ConfigSSLEngineProvider​(com.typesafe.config.Config config,
                                       MarkerLoggingAdapter log)
      • ConfigSSLEngineProvider

        public ConfigSSLEngineProvider​(ActorSystem system)
    • Method Detail

      • HostnameVerification

        public boolean HostnameVerification()
      • SSLEnabledAlgorithms

        public scala.collection.immutable.Set<java.lang.String> SSLEnabledAlgorithms()
      • SSLKeyPassword

        public java.lang.String SSLKeyPassword()
      • SSLKeyStore

        public java.lang.String SSLKeyStore()
      • SSLKeyStorePassword

        public java.lang.String SSLKeyStorePassword()
      • SSLProtocol

        public java.lang.String SSLProtocol()
      • SSLRandomNumberGenerator

        public java.lang.String SSLRandomNumberGenerator()
      • SSLRequireMutualAuthentication

        public boolean SSLRequireMutualAuthentication()
      • SSLTrustStore

        public java.lang.String SSLTrustStore()
      • SSLTrustStorePassword

        public java.lang.String SSLTrustStorePassword()
      • config

        protected com.typesafe.config.Config config()
      • createSecureRandom

        public java.security.SecureRandom createSecureRandom()
      • keyManagers

        protected javax.net.ssl.KeyManager[] keyManagers()
        Subclass may override to customize KeyManager
      • loadKeystore

        protected java.security.KeyStore loadKeystore​(java.lang.String filename,
                                                      java.lang.String password)
        Subclass may override to customize loading of KeyStore
      • trustManagers

        protected javax.net.ssl.TrustManager[] trustManagers()
        Subclass may override to customize TrustManager
      • verifyClientSession

        public scala.Option<java.lang.Throwable> verifyClientSession​(java.lang.String hostname,
                                                                     javax.net.ssl.SSLSession session)
        Description copied from interface: SSLEngineProvider
        Verification that will be called after every successful handshake to verify additional session information. Return None if valid otherwise Some with explaining cause.
        Specified by:
        verifyClientSession in interface SSLEngineProvider
      • verifyServerSession

        public scala.Option<java.lang.Throwable> verifyServerSession​(java.lang.String hostname,
                                                                     javax.net.ssl.SSLSession session)
        Description copied from interface: SSLEngineProvider
        Verification that will be called after every successful handshake to verify additional session information. Return None if valid otherwise Some with explaining cause.
        Specified by:
        verifyServerSession in interface SSLEngineProvider