Build 1.0_r1(from source)

javax.net.ssl
Class SSLSocket

java.lang.Object
  extended by java.net.Socket
      extended by javax.net.ssl.SSLSocket

public abstract class SSLSocket
extends Socket


Constructor Summary
protected SSLSocket()
           
protected SSLSocket(InetAddress address, int port)
           
protected SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort)
           
protected SSLSocket(String host, int port)
           
protected SSLSocket(String host, int port, InetAddress clientAddress, int clientPort)
           
 
Method Summary
abstract  void addHandshakeCompletedListener(HandshakeCompletedListener listener)
           
abstract  String[] getEnabledCipherSuites()
           
abstract  String[] getEnabledProtocols()
           
abstract  boolean getEnableSessionCreation()
           
abstract  boolean getNeedClientAuth()
           
abstract  SSLSession getSession()
           
abstract  String[] getSupportedCipherSuites()
           
abstract  String[] getSupportedProtocols()
           
abstract  boolean getUseClientMode()
           
abstract  boolean getWantClientAuth()
           
abstract  void removeHandshakeCompletedListener(HandshakeCompletedListener listener)
           
abstract  void setEnabledCipherSuites(String[] suites)
           
abstract  void setEnabledProtocols(String[] protocols)
           
abstract  void setEnableSessionCreation(boolean flag)
           
abstract  void setNeedClientAuth(boolean need)
           
abstract  void setUseClientMode(boolean mode)
           
abstract  void setWantClientAuth(boolean want)
           
abstract  void startHandshake()
           
 
Methods inherited from class java.net.Socket
bind, close, connect, connect, getChannel, getInetAddress, getInputStream, getKeepAlive, getLocalAddress, getLocalPort, getLocalSocketAddress, getOOBInline, getOutputStream, getPort, getReceiveBufferSize, getRemoteSocketAddress, getReuseAddress, getSendBufferSize, getSoLinger, getSoTimeout, getTcpNoDelay, getTrafficClass, isBound, isClosed, isConnected, isInputShutdown, isOutputShutdown, sendUrgentData, setKeepAlive, setOOBInline, setPerformancePreferences, setReceiveBufferSize, setReuseAddress, setSendBufferSize, setSocketImplFactory, setSoLinger, setSoTimeout, setTcpNoDelay, setTrafficClass, shutdownInput, shutdownOutput, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SSLSocket

protected SSLSocket()

SSLSocket

protected SSLSocket(String host,
                    int port)
             throws IOException,
                    UnknownHostException
Throws:
IOException
UnknownHostException

SSLSocket

protected SSLSocket(InetAddress address,
                    int port)
             throws IOException
Throws:
IOException

SSLSocket

protected SSLSocket(String host,
                    int port,
                    InetAddress clientAddress,
                    int clientPort)
             throws IOException,
                    UnknownHostException
Throws:
IOException
UnknownHostException

SSLSocket

protected SSLSocket(InetAddress address,
                    int port,
                    InetAddress clientAddress,
                    int clientPort)
             throws IOException
Throws:
IOException
Method Detail

getSupportedCipherSuites

public abstract String[] getSupportedCipherSuites()

getEnabledCipherSuites

public abstract String[] getEnabledCipherSuites()

setEnabledCipherSuites

public abstract void setEnabledCipherSuites(String[] suites)

getSupportedProtocols

public abstract String[] getSupportedProtocols()

getEnabledProtocols

public abstract String[] getEnabledProtocols()

setEnabledProtocols

public abstract void setEnabledProtocols(String[] protocols)

getSession

public abstract SSLSession getSession()

addHandshakeCompletedListener

public abstract void addHandshakeCompletedListener(HandshakeCompletedListener listener)

removeHandshakeCompletedListener

public abstract void removeHandshakeCompletedListener(HandshakeCompletedListener listener)

startHandshake

public abstract void startHandshake()
                             throws IOException
Throws:
IOException

setUseClientMode

public abstract void setUseClientMode(boolean mode)

getUseClientMode

public abstract boolean getUseClientMode()

setNeedClientAuth

public abstract void setNeedClientAuth(boolean need)

getNeedClientAuth

public abstract boolean getNeedClientAuth()

setWantClientAuth

public abstract void setWantClientAuth(boolean want)

getWantClientAuth

public abstract boolean getWantClientAuth()

setEnableSessionCreation

public abstract void setEnableSessionCreation(boolean flag)

getEnableSessionCreation

public abstract boolean getEnableSessionCreation()

Build 1.0_r1(from source)

Please submit a feedback, bug or feature