- hsBuffer
ByteBuffer hsBuffer;
Undocumented in source.
- session
Connection session;
Undocumented in source.
- sslEngine
SSLEngine sslEngine;
Undocumented in source.
- applicationProtocolSelector
ProtocolSelector applicationProtocolSelector;
Undocumented in source.
- handshakeListener
SecureSessionHandshakeListener handshakeListener;
Undocumented in source.
- receivedPacketBuf
ByteBuffer receivedPacketBuf;
Undocumented in source.
- receivedAppBuf
ByteBuffer receivedAppBuf;
Undocumented in source.
- closed
bool closed;
Undocumented in source.
- initialHSStatus
HandshakeStatus initialHSStatus;
Undocumented in source.
- initialHSComplete
bool initialHSComplete;
Undocumented in source.
- doHandshake
bool doHandshake(ByteBuffer receiveBuffer)
The initial handshake is a procedure by which the two peers exchange
communication parameters until an SecureSession is established. Application
data can not be sent during this phase.
- _doHandshake
bool _doHandshake(ByteBuffer receiveBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
- doHandshakeReceive
void doHandshakeReceive(ByteBuffer receiveBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
- handshakeFinish
void handshakeFinish()
Undocumented in source. Be warned that the author may not have intended to support it.
- doHandshakeResponse
void doHandshakeResponse()
Undocumented in source. Be warned that the author may not have intended to support it.
- resizeAppBuffer
void resizeAppBuffer()
Undocumented in source. Be warned that the author may not have intended to support it.
- merge
void merge(ByteBuffer now)
Undocumented in source. Be warned that the author may not have intended to support it.
- getReceivedAppBuf
ByteBuffer getReceivedAppBuf()
Undocumented in source. Be warned that the author may not have intended to support it.
- doTasks
HandshakeStatus doTasks()
Do all the outstanding handshake tasks in the current Thread.
- close
void close()
Undocumented in source. Be warned that the author may not have intended to support it.
- closeInbound
void closeInbound()
Undocumented in source. Be warned that the author may not have intended to support it.
- closeOutbound
void closeOutbound()
Undocumented in source. Be warned that the author may not have intended to support it.
- getApplicationProtocol
string getApplicationProtocol()
Undocumented in source. Be warned that the author may not have intended to support it.
- getSupportedApplicationProtocols
string[] getSupportedApplicationProtocols()
Undocumented in source. Be warned that the author may not have intended to support it.
- isOpen
bool isOpen()
Undocumented in source. Be warned that the author may not have intended to support it.
- splitBuffer
ByteBuffer splitBuffer(int netSize)
Undocumented in source. Be warned that the author may not have intended to support it.
- unwrap
SSLEngineResult unwrap(ByteBuffer input)
Undocumented in source. Be warned that the author may not have intended to support it.
- wrap
SSLEngineResult wrap(ByteBuffer src, ByteBuffer dst)
Undocumented in source. Be warned that the author may not have intended to support it.
- newBuffer
ByteBuffer newBuffer(int size)
Undocumented in source. Be warned that the author may not have intended to support it.
- unwrap
SSLEngineResult unwrap()
Undocumented in source. Be warned that the author may not have intended to support it.
- read
ByteBuffer read(ByteBuffer receiveBuffer)
This method is used to decrypt data, it implied do handshake
- write
int write(ByteBuffer[] outputBuffers, Callback callback)
Undocumented in source. Be warned that the author may not have intended to support it.
- write
int write(ByteBuffer outAppBuf, Callback callback)
This method is used to encrypt and flush to socket channel
- isHandshakeFinished
bool isHandshakeFinished()
Undocumented in source. Be warned that the author may not have intended to support it.
- isClientMode
bool isClientMode()
Undocumented in source. Be warned that the author may not have intended to support it.