javax > javax.net > javax.net.ssl > javax.net.ssl.sslengine >

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


public abstract class SSLEngine extends Object


FIELDS:

CONSTRUCTORS:
protected SSLEngine()

protected SSLEngine(String peerHost, int peerPort)


METHODS:
public abstract void beginHandshake()
Throws: SSLException
Throws: IllegalStateException

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 SSLParameters getSSLParameters()

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)
Throws: IllegalArgumentException

public abstract void setEnabledProtocols(String[] protocols)
Throws: IllegalArgumentException

public abstract void setNeedClientAuth(boolean need)

public void setSSLParameters(SSLParameters params)
Throws: IllegalArgumentException

public abstract void setUseClientMode(boolean mode)
Throws: IllegalArgumentException

public abstract void setWantClientAuth(boolean want)

public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer dst)
Throws: SSLException
Throws: ReadOnlyBufferException
Throws: IllegalArgumentException
Throws: IllegalStateException

public SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts)
Throws: SSLException
Throws: ReadOnlyBufferException
Throws: IllegalArgumentException
Throws: IllegalStateException

public abstract SSLEngineResult unwrap(ByteBuffer src, ByteBuffer[] dsts, int offset, int length)
Throws: SSLException
Throws: IndexOutOfBoundsException
Throws: ReadOnlyBufferException
Throws: IllegalArgumentException
Throws: IllegalStateException

public SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst)
Throws: SSLException
Throws: ReadOnlyBufferException
Throws: IllegalArgumentException
Throws: IllegalStateException

public abstract SSLEngineResult wrap(ByteBuffer[] srcs, int offset, int length, ByteBuffer dst)
Throws: SSLException
Throws: IndexOutOfBoundsException
Throws: ReadOnlyBufferException
Throws: IllegalArgumentException
Throws: IllegalStateException

public SSLEngineResult wrap(ByteBuffer[] srcs, ByteBuffer dst)
Throws: SSLException
Throws: ReadOnlyBufferException
Throws: IllegalArgumentException
Throws: IllegalStateException


INHERITED METHODS:
getClass(), hashCode(), equals(java.lang.Object), clone(), toString(), notify(), notifyAll(), wait(long), wait(long, int), wait(), finalize(),

SUBCLASSES:





Yazilar kaynak gosterilmeden kopyalanamaz © www.kodcu.net