- _doHandshake
bool _doHandshake(ByteBuffer receiveBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
- 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.
- 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.
- doHandshakeReceive
void doHandshakeReceive(ByteBuffer receiveBuffer)
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.
- doTasks
HandshakeStatus doTasks()
Do all the outstanding handshake tasks in the current Thread.
- getApplicationProtocol
string getApplicationProtocol()
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.
- getSupportedApplicationProtocols
string[] getSupportedApplicationProtocols()
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.
- isClientMode
bool isClientMode()
Undocumented in source. Be warned that the author may not have intended to support it.
- isHandshakeFinished
bool isHandshakeFinished()
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.
- merge
void merge(ByteBuffer now)
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.
- read
ByteBuffer read(ByteBuffer receiveBuffer)
This method is used to decrypt data, it implied do handshake
- resizeAppBuffer
void resizeAppBuffer()
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.
- unwrap
SSLEngineResult unwrap()
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.
- 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