| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
SSLEngine engine = …;
SSLEngineResult.HandshakeStatus hs = engine.getHandshakeStatus();
Based on 7 examples
public static final enum SSLEngineResult.HandshakeStatus extends Enum
An SSLEngineResult
enum describing the current
handshaking state of this SSLEngine
.
Field Summary | |
---|---|
static SSLEngineResult.HandshakeStatus |
FINISHED
The SSLEngine has just finished handshaking. |
static SSLEngineResult.HandshakeStatus |
NEED_TASK
The SSLEngine needs the results of one (or more)
delegated tasks before handshaking can continue. |
static SSLEngineResult.HandshakeStatus |
NEED_UNWRAP
The SSLEngine needs to receive data from the
remote side before handshaking can continue. |
static SSLEngineResult.HandshakeStatus |
NEED_WRAP
The SSLEngine must send data to the remote side
before handshaking can continue, so SSLEngine.wrap()
should be called. |
static SSLEngineResult.HandshakeStatus |
NOT_HANDSHAKING
The SSLEngine is not currently handshaking. |
Method Summary | |
---|---|
static SSLEngineResult.HandshakeStatus |
|
static SSLEngineResult.HandshakeStatus[] |
values() |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SSLEngineResult.HandshakeStatus FINISHED
SSLEngine
has just finished handshaking.
This value is only generated by a call to
SSLEngine.wrap()/unwrap()
when that call
finishes a handshake. It is never generated by
SSLEngine.getHandshakeStatus()
.
public static final SSLEngineResult.HandshakeStatus NEED_TASK
SSLEngine
needs the results of one (or more)
delegated tasks before handshaking can continue.
public static final SSLEngineResult.HandshakeStatus NEED_UNWRAP
SSLEngine
needs to receive data from the
remote side before handshaking can continue.
public static final SSLEngineResult.HandshakeStatus NEED_WRAP
SSLEngine
must send data to the remote side
before handshaking can continue, so SSLEngine.wrap()
should be called.
public static final SSLEngineResult.HandshakeStatus NOT_HANDSHAKING
SSLEngine
is not currently handshaking.
Method Detail |
---|
public static SSLEngineResult.HandshakeStatus valueOf(String name)
name
public static SSLEngineResult.HandshakeStatus[] values()
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |