public class

SSLSocketFactoryEx

extends SSLSocketFactory
java.lang.Object
   ↳ javax.net.SocketFactory
     ↳ javax.net.ssl.SSLSocketFactory
       ↳ com.microstrategy.utils.ssl.SSLSocketFactoryEx

Summary

Public Constructors
SSLSocketFactoryEx()
SSLSocketFactoryEx(SSLContext ctx)
Public Methods
Socket createSocket(String host, int port)
Socket createSocket(InetAddress host, int port)
Socket createSocket(InetAddress address, int port, InetAddress localAddress, int localPort)
Socket createSocket(Socket s, String host, int port, boolean autoClose)
Socket createSocket(String host, int port, InetAddress localHost, int localPort)
String[] getDefaultCipherSuites()
String[] getSupportedCipherSuites()
void setSSLContext(SSLContext ctx)
Protected Methods
String[] GetCipherList()
[Expand]
Inherited Methods
From class javax.net.ssl.SSLSocketFactory
From class javax.net.SocketFactory
From class java.lang.Object

Public Constructors

public SSLSocketFactoryEx ()

Throws
KeyManagementException
NoSuchAlgorithmException

public SSLSocketFactoryEx (SSLContext ctx)

Throws
KeyManagementException
NoSuchAlgorithmException

Public Methods

public Socket createSocket (String host, int port)

Throws
IOException
UnknownHostException

public Socket createSocket (InetAddress host, int port)

Throws
IOException

public Socket createSocket (InetAddress address, int port, InetAddress localAddress, int localPort)

Throws
IOException

public Socket createSocket (Socket s, String host, int port, boolean autoClose)

Throws
IOException

public Socket createSocket (String host, int port, InetAddress localHost, int localPort)

Throws
IOException
UnknownHostException

public String[] getDefaultCipherSuites ()

public String[] getSupportedCipherSuites ()

public void setSSLContext (SSLContext ctx)

Protected Methods

protected String[] GetCipherList ()

Returns
  • array containing the preferred ciphers that are available