Class SimpleTrustManagerFactory

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      protected abstract javax.net.ssl.TrustManager[] engineGetTrustManagers()
      Returns one trust manager for each type of trust material.
      protected abstract void engineInit​(java.security.KeyStore keyStore)
      Initializes this factory with a source of certificate authorities and related trust material.
      protected abstract 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
    • Constructor Detail

      • SimpleTrustManagerFactory

        protected SimpleTrustManagerFactory()
        Creates a new instance.
      • SimpleTrustManagerFactory

        protected SimpleTrustManagerFactory​(java.lang.String name)
        Creates a new instance.
        Parameters:
        name - the name of this TrustManagerFactory
    • Method Detail

      • engineInit

        protected abstract void engineInit​(java.security.KeyStore keyStore)
                                    throws java.lang.Exception
        Initializes this factory with a source of certificate authorities and related trust material.
        Throws:
        java.lang.Exception
        See Also:
        TrustManagerFactorySpi.engineInit(KeyStore)
      • engineInit

        protected abstract void engineInit​(javax.net.ssl.ManagerFactoryParameters managerFactoryParameters)
                                    throws java.lang.Exception
        Initializes this factory with a source of provider-specific key material.
        Throws:
        java.lang.Exception
        See Also:
        TrustManagerFactorySpi.engineInit(ManagerFactoryParameters)
      • engineGetTrustManagers

        protected abstract javax.net.ssl.TrustManager[] engineGetTrustManagers()
        Returns one trust manager for each type of trust material.
        See Also:
        TrustManagerFactorySpi.engineGetTrustManagers()