Class CustomTrustManagerFactory

java.lang.Object
javax.net.ssl.TrustManagerFactory
io.netty.handler.ssl.util.SimpleTrustManagerFactory
org.openhab.core.io.transport.mqtt.ssl.CustomTrustManagerFactory

@NonNullByDefault public class CustomTrustManagerFactory extends io.netty.handler.ssl.util.SimpleTrustManagerFactory
The CustomTrustManagerFactory is a TrustManagerFactory that provides a custom TrustManager
Author:
Jan N. Klug - Initial contribution
  • Constructor Details

    • CustomTrustManagerFactory

      public CustomTrustManagerFactory(TrustManager[] trustManagers)
  • Method Details

    • engineInit

      protected void engineInit(@Nullable KeyStore keyStore) throws Exception
      Specified by:
      engineInit in class io.netty.handler.ssl.util.SimpleTrustManagerFactory
      Throws:
      Exception
    • engineInit

      protected void engineInit(@Nullable ManagerFactoryParameters managerFactoryParameters) throws Exception
      Specified by:
      engineInit in class io.netty.handler.ssl.util.SimpleTrustManagerFactory
      Throws:
      Exception
    • engineGetTrustManagers

      protected TrustManager[] engineGetTrustManagers()
      Specified by:
      engineGetTrustManagers in class io.netty.handler.ssl.util.SimpleTrustManagerFactory