Package com.ibm.wsspi.ssl
Interface SSLSupport
public interface SSLSupport
Marker interface for configured SSL subsystem
-
Method Summary
Modifier and TypeMethodDescriptioncom.ibm.websphere.ssl.JSSEHelper
com.ibm.websphere.ssl.JSSEProvider
Obtain the default JSSE provider instance.com.ibm.websphere.ssl.JSSEProvider
getJSSEProvider
(String providerName) Obtain the possible JSSE provider for the given name.Obtain a Liberty SSLSocketFactory.getSSLSocketFactory
(String sslAlias) Obtain a Liberty SSLSocketFactory for a given SSL configuration.getSSLSocketFactory
(Properties sslProps) Obtain a Liberty SSLSocketFactory for a given set of SSL properties.
-
Method Details
-
getJSSEHelper
com.ibm.websphere.ssl.JSSEHelper getJSSEHelper() -
getJSSEProvider
com.ibm.websphere.ssl.JSSEProvider getJSSEProvider()Obtain the default JSSE provider instance.- Returns:
- JSSEProvider
-
getJSSEProvider
Obtain the possible JSSE provider for the given name. This will return null if there was no match found.- Parameters:
providerName
-- Returns:
- JSSEProvider
-
getSSLSocketFactory
SSLSocketFactory getSSLSocketFactory()Obtain a Liberty SSLSocketFactory.- Returns:
- SSLSocketFactory
-
getSSLSocketFactory
Obtain a Liberty SSLSocketFactory for a given SSL configuration.- Parameters:
sslAlias
- - name of a SSL configuration- Returns:
- SSLSocketFactory
- Throws:
SSLException
-
getSSLSocketFactory
Obtain a Liberty SSLSocketFactory for a given set of SSL properties.- Parameters:
sslProps
- - properties to create a SSL Socket factory- Returns:
- SSLSocketFactory
- Throws:
SSLException
-