Class AggregatedX509ExtendedTrustManager

java.lang.Object
javax.net.ssl.X509ExtendedTrustManager
nl.altindag.ssl.trustmanager.AggregatedX509ExtendedTrustManager
All Implemented Interfaces:
TrustManager, X509TrustManager, CombinableX509TrustManager

public final class AggregatedX509ExtendedTrustManager extends X509ExtendedTrustManager implements CombinableX509TrustManager
AggregatedX509ExtendedTrustManager is a wrapper for a collection of TrustManagers. It has the ability to validate a certificate chain against multiple TrustManagers. If any one of the inner trust managers trusts a certificate chain, then it is trusted by the wrapper trust manager. The TrustManager can be built from one or more of any combination provided within the TrustManagerUtils.TrustManagerBuilder.

This includes:
     - Any amount of custom TrustManagers
     - Any amount of custom TrustStores
 

NOTE: Please don't use this class directly as it is part of the internal API. Class name and methods can be changed any time. Instead use the TrustManagerUtils which provides the same functionality while it has a stable API because it is part of the public API.

See Also: