Android
javax.net.ssl
public abstract class

javax.net.ssl.SSLEngine

java.lang.Object
javax.net.ssl.SSLEngine

Summary

Protected Constructors

            SSLEngine()
            SSLEngine(String host, int port)

Public Methods

abstract          void  beginHandshake()
abstract          void  closeInbound()
abstract          void  closeOutbound()
abstract          Runnable  getDelegatedTask()
abstract          boolean  getEnableSessionCreation()
abstract          String[]  getEnabledCipherSuites()
abstract          String[]  getEnabledProtocols()
abstract          SSLEngineResult.HandshakeStatus  getHandshakeStatus()
abstract          boolean  getNeedClientAuth()
          String  getPeerHost()
          int  getPeerPort()
abstract          SSLSession  getSession()
abstract          String[]  getSupportedCipherSuites()
abstract          String[]  getSupportedProtocols()
abstract          boolean  getUseClientMode()
abstract          boolean  getWantClientAuth()
abstract          boolean  isInboundDone()
abstract          boolean  isOutboundDone()
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)
          SSLEngineResult  unwrap(ByteBuffer src, ByteBuffer dst)
implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when parameters are null and does not throw ReadOnlyBufferException if dst is read only byte buffer
abstract          SSLEngineResult  unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)
          SSLEngineResult  unwrap(ByteBuffer src, ByteBuffer[] dsts)
implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when src is null or if dsts contains null elements It does not throw ReadOnlyBufferException when dsts contains read only elements
          SSLEngineResult  wrap(ByteBuffer src, ByteBuffer dst)
implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when parameters are null and does not throw ReadOnlyBufferException if dst is read only byte buffer
          SSLEngineResult  wrap(ByteBuffer[] srcs, ByteBuffer dst)
implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when dst is null or if srcs contains null elements It does not throw ReadOnlyBufferException for read only dst
abstract          SSLEngineResult  wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)
Methods inherited from class java.lang.Object

Details

Protected Constructors

protected SSLEngine()

protected SSLEngine(String host, int port)

Public Methods

public abstract void beginHandshake()

Throws

SSLException

public abstract void closeInbound()

Throws

SSLException

public abstract void closeOutbound()

public abstract Runnable getDelegatedTask()

public abstract boolean getEnableSessionCreation()

public abstract String[] getEnabledCipherSuites()

public abstract String[] getEnabledProtocols()

public abstract SSLEngineResult.HandshakeStatus getHandshakeStatus()

public abstract boolean getNeedClientAuth()

public String getPeerHost()

public int getPeerPort()

public abstract SSLSession getSession()

public abstract String[] getSupportedCipherSuites()

public abstract String[] getSupportedProtocols()

public abstract boolean getUseClientMode()

public abstract boolean getWantClientAuth()

public abstract boolean isInboundDone()

public abstract boolean isOutboundDone()

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 SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst)

implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when parameters are null and does not throw ReadOnlyBufferException if dst is read only byte buffer

Throws

SSLException

public abstract SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)

Throws

SSLException

public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts)

implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when src is null or if dsts contains null elements It does not throw ReadOnlyBufferException when dsts contains read only elements

Throws

SSLException

public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst)

implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when parameters are null and does not throw ReadOnlyBufferException if dst is read only byte buffer

Throws

SSLException

public SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst)

implementation behavior follows RI: jdk 1.5 does not throw IllegalArgumentException when dst is null or if srcs contains null elements It does not throw ReadOnlyBufferException for read only dst

Throws

SSLException

public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)

Throws

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