Interface SSLSupport


  • public interface SSLSupport
    Marker interface for configured SSL subsystem
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.ibm.websphere.ssl.JSSEHelper getJSSEHelper()  
      com.ibm.websphere.ssl.JSSEProvider getJSSEProvider()
      Obtain the default JSSE provider instance.
      com.ibm.websphere.ssl.JSSEProvider getJSSEProvider​(java.lang.String providerName)
      Obtain the possible JSSE provider for the given name.
      javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
      Obtain a Liberty SSLSocketFactory.
      javax.net.ssl.SSLSocketFactory getSSLSocketFactory​(java.lang.String sslAlias)
      Obtain a Liberty SSLSocketFactory for a given SSL configuration.
      javax.net.ssl.SSLSocketFactory getSSLSocketFactory​(java.util.Properties sslProps)
      Obtain a Liberty SSLSocketFactory for a given set of SSL properties.
    • Method Detail

      • getJSSEHelper

        com.ibm.websphere.ssl.JSSEHelper getJSSEHelper()
      • getJSSEProvider

        com.ibm.websphere.ssl.JSSEProvider getJSSEProvider()
        Obtain the default JSSE provider instance.
        Returns:
        JSSEProvider
      • getJSSEProvider

        com.ibm.websphere.ssl.JSSEProvider getJSSEProvider​(java.lang.String providerName)
        Obtain the possible JSSE provider for the given name. This will return null if there was no match found.
        Parameters:
        providerName -
        Returns:
        JSSEProvider
      • getSSLSocketFactory

        javax.net.ssl.SSLSocketFactory getSSLSocketFactory()
        Obtain a Liberty SSLSocketFactory.
        Returns:
        SSLSocketFactory
      • getSSLSocketFactory

        javax.net.ssl.SSLSocketFactory getSSLSocketFactory​(java.lang.String sslAlias)
                                                    throws javax.net.ssl.SSLException
        Obtain a Liberty SSLSocketFactory for a given SSL configuration.
        Parameters:
        sslAlias - - name of a SSL configuration
        Returns:
        SSLSocketFactory
        Throws:
        javax.net.ssl.SSLException
      • getSSLSocketFactory

        javax.net.ssl.SSLSocketFactory getSSLSocketFactory​(java.util.Properties sslProps)
                                                    throws javax.net.ssl.SSLException
        Obtain a Liberty SSLSocketFactory for a given set of SSL properties.
        Parameters:
        sslProps - - properties to create a SSL Socket factory
        Returns:
        SSLSocketFactory
        Throws:
        javax.net.ssl.SSLException