Initializes a new instance of this class.
An <code>SSLEngineResult</code> enum describing the overall result of the <code>SSLEngine</code> operation.
Returns the number of bytes consumed from the input buffer.
Returns the number of bytes written to the output buffer.
Gets the handshake status of this <code>SSLEngine</code> operation.
Gets the return value of this <code>SSLEngine</code> operation.
Returns a string representation of this object.
An encapsulation of the result state produced by <code>SSLEngine</code> I/O calls.
<p> A <code>SSLEngine</code> provides a means for establishing secure communication sessions between two peers. <code>SSLEngine</code> operations typically consume bytes from an input buffer and produce bytes in an output buffer. This class provides operational result values describing the state of the <code>SSLEngine</code>, including indications of what operations are needed to finish an ongoing handshake. Lastly, it reports the number of bytes consumed and produced as a result of this operation.
@see SSLEngine @see SSLEngine#wrap(ByteBuffer, ByteBuffer) @see SSLEngine#unwrap(ByteBuffer, ByteBuffer)
@author Brad R. Wetmore