Value | Meaning |
---|---|
BUFFER_UNDERFLOW | The <code>SSLEngine</code> was not able to unwrap the incoming data because there were not enough source bytes available to make a complete packet. <P> Repeat the call once more bytes are available. |
BUFFER_OVERFLOW | The <code>SSLEngine</code> was not able to process the operation because there are not enough bytes available in the destination buffer to hold the result. <P> Repeat the call once more bytes are available. @see SSLSession#getPacketBufferSize() @see SSLSession#getApplicationBufferSize() |
OK | The <code>SSLEngine</code> completed the operation, and is available to process similar calls. |
CLOSED | The operation just closed this side of the <code>SSLEngine</code>, or the operation could not be completed because it was already closed. |
An <code>SSLEngineResult</code> enum describing the overall result of the <code>SSLEngine</code> operation.
The <code>Status</code> value does not reflect the state of a <code>SSLEngine</code> handshake currently in progress. The <code>SSLEngineResult's HandshakeStatus</code> should be consulted for that information.
@author Brad R. Wetmore