Package org.infinispan.commons.util
Class SslContextFactory
java.lang.Object
org.infinispan.commons.util.SslContextFactory
SslContextFactory.
- Since:
- 5.3
- Author:
- Tristan Tarrant
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
classLoader
(ClassLoader classLoader) static Provider[]
discoverSecurityProviders
(ClassLoader classLoader) static Provider
findProvider
(String providerName, String serviceType, String algorithm) static SSLEngine
getEngine
(SSLContext sslContext, boolean useClientMode, boolean needClientAuth) static String
Deprecated, for removal: This API element is subject to removal in a future version.keyStoreFileName
(String keyStoreFileName) keyStorePassword
(char[] keyStorePassword) keyStoreType
(String keyStoreType) sslProtocol
(String sslProtocol) trustStoreFileName
(String trustStoreFileName) trustStorePassword
(char[] trustStorePassword) trustStoreType
(String trustStoreType) useNativeIfAvailable
(boolean useNativeIfAvailable) Deprecated, for removal: This API element is subject to removal in a future version.watcher
(FileWatcher watcher)
-
Constructor Details
-
SslContextFactory
public SslContextFactory()
-
-
Method Details
-
keyStoreFileName
-
keyStorePassword
-
keyStoreType
-
keyAlias
-
trustStoreFileName
-
trustStorePassword
-
trustStoreType
-
sslProtocol
-
provider
-
watcher
-
useNativeIfAvailable
@Deprecated(forRemoval=true, since="15.0") public SslContextFactory useNativeIfAvailable(boolean useNativeIfAvailable) Deprecated, for removal: This API element is subject to removal in a future version. -
classLoader
-
build
-
getSslProvider
Deprecated, for removal: This API element is subject to removal in a future version. -
getEngine
public static SSLEngine getEngine(SSLContext sslContext, boolean useClientMode, boolean needClientAuth) -
findProvider
-
discoverSecurityProviders
-