TrustManager

  • TrustManager is the base interface for managing trust material and making trust decisions in JSSE.

  • It is used to determine whether credentials from a peer are acceptable.

  • TrustManager instances can be created using a TrustManagerFactory or by implementing a subclass.

  • Subclasses like X509ExtendedTrustManager and X509TrustManager handle specific certificate-based trust management.

public interface TrustManager
Known Indirect Subclasses

This is the base interface for JSSE trust managers.

TrustManagers are responsible for managing the trust material that is used when making trust decisions, and for deciding whether credentials presented by a peer should be accepted.

TrustManagers are created by either using a TrustManagerFactory, or by implementing one of the TrustManager subclasses.