Class TrustManagerFactory
java.lang.Object
javax.net.ssl.TrustManagerFactory
This class acts as a factory for trust managers based on a
source of trust material. Each trust manager manages a specific
type of trust material for use by secure sockets. The trust
material is based on a KeyStore and/or provider-specific sources.
Every implementation of the Java platform is required to support the
following standard TrustManagerFactory
algorithm:
PKIX
- Since:
- 1.4
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TrustManagerFactory
(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm) Creates a TrustManagerFactory object. -
Method Summary
Modifier and TypeMethodDescriptionfinal String
Returns the algorithm name of thisTrustManagerFactory
object.static final String
Obtains the default TrustManagerFactory algorithm name.static final TrustManagerFactory
getInstance
(String algorithm) Returns aTrustManagerFactory
object that acts as a factory for trust managers.static final TrustManagerFactory
getInstance
(String algorithm, String provider) Returns aTrustManagerFactory
object that acts as a factory for trust managers.static final TrustManagerFactory
getInstance
(String algorithm, Provider provider) Returns aTrustManagerFactory
object that acts as a factory for trust managers.final Provider
Returns the provider of thisTrustManagerFactory
object.final