Android
javax.net.ssl
public abstract class

javax.net.ssl.SSLSocket

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

Summary

Protected Constructors

            SSLSocket()
            SSLSocket(String host, int port)
            SSLSocket(InetAddress address, int port)
            SSLSocket(String host, int port, InetAddress clientAddress, int clientPort)
            SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort)

Public Methods

abstract          void  addHandshakeCompletedListener(HandshakeCompletedListener listener)
abstract          boolean  getEnableSessionCreation()
abstract          String[]  getEnabledCipherSuites()
abstract          String[]  getEnabledProtocols()
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  setEnableSessionCreation(boolean flag)
abstract          void  setEnabledCipherSuites(String[] suites)
abstract          void  setEnabledProtocols(String[] protocols)
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
Methods inherited from class java.lang.Object

Details

Protected Constructors

protected SSLSocket()

protected SSLSocket(String host, int port)

protected SSLSocket(InetAddress address, int port)

Throws

IOException

protected SSLSocket(String host, int port, InetAddress clientAddress, int clientPort)

protected SSLSocket(InetAddress address, int port, InetAddress clientAddress, int clientPort)

Throws

IOException

Public Methods

public abstract void addHandshakeCompletedListener(HandshakeCompletedListener listener)

public abstract boolean getEnableSessionCreation()

public abstract String[] getEnabledCipherSuites()

public abstract String[] getEnabledProtocols()

public abstract boolean getNeedClientAuth()

public abstract SSLSession getSession()

public abstract String[] getSupportedCipherSuites()

public abstract String[] getSupportedProtocols()

public abstract boolean getUseClientMode()

public abstract boolean getWantClientAuth()

public abstract void removeHandshakeCompletedListener(HandshakeCompletedListener listener)

public abstract void setEnableSessionCreation(boolean flag)

public abstract void setEnabledCipherSuites(String[] suites)

public abstract void setEnabledProtocols(String[] protocols)

public abstract void setNeedClientAuth(boolean need)

public abstract void setUseClientMode(boolean mode)

public abstract void setWantClientAuth(boolean want)

public abstract void startHandshake()

Throws

IOException
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48