java.lang.Object java.lang.Enum javax.net.ssl.SSLEngineResult.Status
An SSLEngineResult
enum describing the overall result
of the SSLEngine
operation.
Field Summary | |
---|---|
static SSLEngineResult.Status |
BUFFER_OVERFLOW
The SSLEngine was not able to process the
operation because there are not enough bytes available in the
destination buffer to hold the result. |
static SSLEngineResult.Status |
BUFFER_UNDERFLOW
The SSLEngine was not able to unwrap the
incoming data because there were not enough source bytes
available to make a complete packet. |
static SSLEngineResult.Status |
CLOSED
The operation just closed this side of the SSLEngine , or the operation
could not be completed because it was already closed. |
static SSLEngineResult.Status |
OK
The SSLEngine encountered no problems processing
this request, and no additional state information is
available. |
Constructor Summary | |
---|---|
SSLEngineResult.Status()
|
Method Summary | |
---|---|
static SSLEngineResult.Status |
valueOf(String name)
|
static SSLEngineResult.Status[] |
values()
|
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Field Detail |
---|
public static final SSLEngineResult.Status BUFFER_UNDERFLOW
SSLEngine
was not able to unwrap the
incoming data because there were not enough source bytes
available to make a complete packet.
Repeat the call once more bytes are available.
public static final SSLEngineResult.Status BUFFER_OVERFLOW
SSLEngine
was not able to process the
operation because there are not enough bytes available in the
destination buffer to hold the result.
Repeat the call once more bytes are available.
SSLSession.getPacketBufferSize()
,
SSLSession.getApplicationBufferSize()
public static final SSLEngineResult.Status OK
SSLEngine
encountered no problems processing
this request, and no additional state information is
available.
public static final SSLEngineResult.Status CLOSED
SSLEngine
, or the operation
could not be completed because it was already closed.
Constructor Detail |
---|
public SSLEngineResult.Status()
Method Detail |
---|
public static final SSLEngineResult.Status[] values()
public static SSLEngineResult.Status valueOf(String name)