java.lang.Object
nl.altindag.ssl.util.SSLFactoryUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidreload(SSLFactory baseSslFactory, SSLFactory updatedSslFactory) Reloads the ssl material for the KeyManager and / or TrustManager within the base SSLFactory if present and if it is swappable.static voidreload(SSLFactory baseSslFactory, SSLFactory updatedSslFactory, boolean shouldInvalidateCaches) Reloads the ssl material for the KeyManager and / or TrustManager within the base SSLFactory if present and if it is swappable.private static <T> voidreload(SSLFactory baseSslFactory, SSLFactory updatedSslFactory, Function<SSLFactory, Optional<T>> mapper, BiConsumer<T, T> consumer)
-
Constructor Details
-
SSLFactoryUtils
private SSLFactoryUtils()
-
-
Method Details
-
reload
Reloads the ssl material for the KeyManager and / or TrustManager within the base SSLFactory if present and if it is swappable. Other properties such as ciphers, protocols, secure-random,HostnameVerifierandSSLParameterswill not be reloaded. -
reload
public static void reload(SSLFactory baseSslFactory, SSLFactory updatedSslFactory, boolean shouldInvalidateCaches) Reloads the ssl material for the KeyManager and / or TrustManager within the base SSLFactory if present and if it is swappable. Other properties such as ciphers, protocols, secure-random,HostnameVerifierandSSLParameterswill not be reloaded. -
reload
private static <T> void reload(SSLFactory baseSslFactory, SSLFactory updatedSslFactory, Function<SSLFactory, Optional<T>> mapper, BiConsumer<T, T> consumer)
-