| java.lang.Object org.xsocket.connection.spi.SSLProcessor
All known Subclasses: org.xsocket.connection.spi.IoSSLHandler, org.xsocket.connection.spi.IoActivateableSSLHandler,
SSLProcessor | final class SSLProcessor (Code) | | ssl processor
author: grro@xsocket.org |
Inner Class :static interface EventHandler | |
SSLProcessor | SSLProcessor(SSLContext sslContext, boolean isClientMode, IMemoryManager memoryManager, EventHandler eventHandler)(Code) | | constructor
Parameters: sslContext - the ssl context Parameters: isClientMode - true, is ssl processor runs in client mode |
decrypt | synchronized void decrypt(ByteBuffer[] encryptedBufferList) throws IOException, ClosedChannelException(Code) | | decrypt data
Parameters: encryptedBufferList - the encrypted data throws: IOException - if an io exction occurs throws: ClosedChannelException - if the connection is already closed |
destroy | void destroy()(Code) | | destroy this instance
|
encrypt | void encrypt(ByteBuffer[] plainBufferList) throws ClosedChannelException, IOException(Code) | | encrypt data
Parameters: plainBuffer - the plain data to encrypt throws: IOException - if an io exction occurs throws: ClosedChannelException - if the connection is already closed |
encrypt | void encrypt() throws ClosedChannelException, IOException(Code) | | encrypt data
throws: IOException - if an io exction occurs throws: ClosedChannelException - if the connection is already closed |
isHandshaking | synchronized boolean isHandshaking()(Code) | | return true, if the connection is handshaking
true, if the connection is handshaking |
start | synchronized void start() throws IOException(Code) | | start ssl processing
Parameters: inNetData - already received net data throws: IOException - If some other I/O error occurs |
|
|