Package nl.altindag.ssl.util
Class TrustManagerUtils.TrustManagerBuilder
java.lang.Object
nl.altindag.ssl.util.TrustManagerUtils.TrustManagerBuilder
- Enclosing class:
- TrustManagerUtils
-
Method Summary
Modifier and TypeMethodDescriptionbuild()withLoggingTrustManager(boolean loggingTrustManagerEnabled) withSwappableTrustManager(boolean swappableTrustManagerEnabled) withTrustEnhancer(boolean shouldTrustedCertificatesBeConcealed) withTrustEnhancer(Predicate<TrustManagerParameters> trustManagerParametersValidator) withTrustEnhancer(ChainAndAuthTypeValidator validator) Deprecated.Deprecated.Deprecated.withTrustManager(T trustManager) withTrustManagers(List<T> trustManagers) withTrustManagers(T... trustManagers) <T extends KeyStore>
TrustManagerUtils.TrustManagerBuilderwithTrustStore(T trustStore) <T extends KeyStore>
TrustManagerUtils.TrustManagerBuilderwithTrustStore(T trustStore, String trustManagerAlgorithm) withTrustStores(List<? extends KeyStore> trustStores) <T extends KeyStore>
TrustManagerUtils.TrustManagerBuilderwithTrustStores(T... trustStores)
-
Method Details
-
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
-
withTrustStores
-
withTrustStore
-
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
-