TrustManagerFactory

public class TrustManagerFactory extends Object

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.

See Also

Protected Constructor Summary

TrustManagerFactory(TrustManagerFactorySpi factorySpi, Provider provider, String algorithm)
Creates a TrustManagerFactory object.

Public Method Summary

final String
getAlgorithm()
Returns the algorithm name of this TrustManagerFactory object.
final static String
getDefaultAlgorithm()
Obtains the default TrustManagerFactory algorithm name.
final static TrustManagerFactory
getInstance(String algorithm)
Returns a TrustManagerFactory object that acts as a factory for trust managers.
final static TrustManagerFactory
getInstance(String algorithm, String provider)
Returns a TrustManagerFactory object that acts as a factory for trust managers.
final static TrustManagerFactory
getInstance(String algorithm, Provider provider)
Returns a TrustManagerFactory object that acts as a factory for trust managers.
final Provider
getProvider()
Returns the provider of this TrustManagerFactory object.