Class TrustManagerFactoryWrapper

java.lang.Object
javax.net.ssl.TrustManagerFactory
io.netty.handler.ssl.util.SimpleTrustManagerFactory
io.netty.handler.ssl.util.TrustManagerFactoryWrapper

public final class TrustManagerFactoryWrapper extends SimpleTrustManagerFactory
  • Nested Class Summary

  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private final javax.net.ssl.TrustManager
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TrustManagerFactoryWrapper(javax.net.ssl.TrustManager tm)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    protected javax.net.ssl.TrustManager[]
    Returns one trust manager for each type of trust material.
    protected void
    engineInit(java.security.KeyStore keyStore)
    Initializes this factory with a source of certificate authorities and related trust material.
    protected void
    engineInit(javax.net.ssl.ManagerFactoryParameters managerFactoryParameters)
    Initializes this factory with a source of provider-specific key material.

    Methods inherited from class javax.net.ssl.TrustManagerFactory

    getAlgorithm, getDefaultAlgorithm, getInstance, getInstance, getInstance, getProvider, getTrustManagers, init, init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • tm

      private final javax.net.ssl.TrustManager tm
  • Constructor Details

    • TrustManagerFactoryWrapper

      public TrustManagerFactoryWrapper(javax.net.ssl.TrustManager tm)
  • Method Details

    • engineInit

      protected void engineInit(java.security.KeyStore keyStore) throws java.lang.Exception
      Description copied from class: SimpleTrustManagerFactory
      Initializes this factory with a source of certificate authorities and related trust material.
      Specified by:
      engineInit in class SimpleTrustManagerFactory
      Throws:
      java.lang.Exception
      See Also:
      • TrustManagerFactorySpi.engineInit(KeyStore)
    • engineInit

      protected void engineInit(javax.net.ssl.ManagerFactoryParameters managerFactoryParameters) throws java.lang.Exception
      Description copied from class: SimpleTrustManagerFactory
      Initializes this factory with a source of provider-specific key material.
      Specified by:
      engineInit in class SimpleTrustManagerFactory
      Throws:
      java.lang.Exception
      See Also:
      • TrustManagerFactorySpi.engineInit(ManagerFactoryParameters)
    • engineGetTrustManagers

      protected javax.net.ssl.TrustManager[] engineGetTrustManagers()
      Description copied from class: SimpleTrustManagerFactory
      Returns one trust manager for each type of trust material.
      Specified by:
      engineGetTrustManagers in class SimpleTrustManagerFactory
      See Also:
      • TrustManagerFactorySpi.engineGetTrustManagers()