Name

Class com.sun.net.ssl.TrustManagerFactory

Synopsis

Instances of this class are used to obtain trust managers, which provide the certificates used to verify the identity of an SSL peer. The trust manager must be initialized with an appropriate keystore.

Class Definition

public class com.sun.net.ssl.TrustManagerFactory
    extends java.lang.Object {

    // Constructors
    protected TrustManagerFactory(TrustManagerFactorySpi,
                                  Provider, String);

    // Class Methods
    public static final String getDefaultAlgorithm(  );
    public static final TrustManagerFactory getInstance(
                                               String, String);
    public static final TrustManagerFactory getInstance(String);
    public static final TrustManagerFactory getInstance(
                                               String, Provider);

    // Instance Methods
    public final String getAlgorithm(  );
    public final Provider getProvider(  );
    public TrustManager[] getTrustManagers(  );
    public void init(KeyStore);
}

Get Java Security, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.