Package nl.altindag.ssl.util
Class TrustManagerUtils.TrustManagerBuilder
- java.lang.Object
-
- nl.altindag.ssl.util.TrustManagerUtils.TrustManagerBuilder
-
- Enclosing class:
- TrustManagerUtils
public static final class TrustManagerUtils.TrustManagerBuilder extends Object
-
-
Method Summary
-
-
-
Method Detail
-
withTrustManagers
public <T extends X509TrustManager> TrustManagerUtils.TrustManagerBuilder withTrustManagers(T... trustManagers)
-
withTrustManagers
public <T extends X509TrustManager> TrustManagerUtils.TrustManagerBuilder withTrustManagers(List<T> trustManagers)
-
withTrustManager
public <T extends X509TrustManager> TrustManagerUtils.TrustManagerBuilder withTrustManager(T trustManager)
-
withTrustStores
public <T extends KeyStore> TrustManagerUtils.TrustManagerBuilder withTrustStores(T... trustStores)
-
withTrustStores
public TrustManagerUtils.TrustManagerBuilder withTrustStores(List<? extends KeyStore> trustStores)
-
withTrustStore
public <T extends KeyStore> TrustManagerUtils.TrustManagerBuilder withTrustStore(T trustStore)
-
withTrustStore
public <T extends KeyStore> TrustManagerUtils.TrustManagerBuilder withTrustStore(T trustStore, String trustManagerAlgorithm)
-
withSwappableTrustManager
public TrustManagerUtils.TrustManagerBuilder withSwappableTrustManager(boolean swappableTrustManagerEnabled)
-
withLoggingTrustManager
public TrustManagerUtils.TrustManagerBuilder withLoggingTrustManager(boolean loggingTrustManagerEnabled)
-
withTrustEnhancer
@Deprecated public TrustManagerUtils.TrustManagerBuilder withTrustEnhancer(ChainAndAuthTypeValidator validator)
Deprecated.
-
withTrustEnhancer
@Deprecated public TrustManagerUtils.TrustManagerBuilder withTrustEnhancer(ChainAndAuthTypeWithSocketValidator validator)
Deprecated.
-
withTrustEnhancer
@Deprecated public TrustManagerUtils.TrustManagerBuilder withTrustEnhancer(ChainAndAuthTypeWithSSLEngineValidator validator)
Deprecated.
-
withTrustEnhancer
public TrustManagerUtils.TrustManagerBuilder withTrustEnhancer(Predicate<TrustManagerParameters> trustManagerParametersValidator)
-
withTrustEnhancer
public TrustManagerUtils.TrustManagerBuilder withTrustEnhancer(boolean shouldTrustedCertificatesBeConcealed)
-
build
public X509ExtendedTrustManager build()
-
-