Package org.infinispan.commons.util
Class SslContextFactory
java.lang.Object
org.infinispan.commons.util.SslContextFactory
SslContextFactory.
- Since:
- 5.3
- Author:
- Tristan Tarrant
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclassLoader
(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
keyStoreCertificatePassword
(char[] keyStoreCertificatePassword) keyStoreFileName
(String keyStoreFileName) keyStorePassword
(char[] keyStorePassword) keyStoreType
(String keyStoreType) sslProtocol
(String sslProtocol) trustStoreFileName
(String trustStoreFileName) trustStorePassword
(char[] trustStorePassword) trustStoreType
(String trustStoreType) useNativeIfAvailable
(boolean useNativeIfAvailable)
-
Constructor Details
-
SslContextFactory
public SslContextFactory()
-
-
Method Details
-
keyStoreFileName
-
keyStorePassword
-
keyStoreCertificatePassword
-
keyStoreType
-
keyAlias
-
trustStoreFileName
-
trustStorePassword
-
trustStoreType
-
sslProtocol
-
provider
-
useNativeIfAvailable
-
classLoader
-
getContext
-
getKeyManagerFactory
- Throws:
IOException
GeneralSecurityException
-
getTrustManagerFactory
- Throws:
IOException
GeneralSecurityException
-
getSslProvider
-
getEngine
public static SSLEngine getEngine(SSLContext sslContext, boolean useClientMode, boolean needClientAuth) -
findProvider
-
discoverSecurityProviders
-