protected static enum EstablishBase.State extends Enum<EstablishBase.State>
Enum Constant and Description |
---|
CORRUPT |
IB_GOT_HX
got 1
|
IB_GOT_RI
got 1, sent 2, got 3
|
IB_GOT_RI_SIZE
got 1, sent 2, got partial 3
|
IB_GOT_X
got 1 partial
|
IB_INIT |
IB_NTCP2_GOT_PADDING
Got msg 1 incl.
|
IB_NTCP2_GOT_RI
Got msg 3
Next state VERIFIED
|
IB_NTCP2_GOT_X
Got Noise part of msg 1
Next state IB_NTCP2_GOT_PADDING or IB_NTCP2_READ_RANDOM on fail
|
IB_NTCP2_INIT
Next state IB_NTCP2_GOT_X
|
IB_NTCP2_READ_RANDOM
Got msg 1 and failed AEAD
Next state CORRUPT
|
IB_NTCP2_SENT_Y
Sent msg 2 and padding
Next state IB_NTCP2_GOT_RI
|
IB_SENT_Y
got 1, sent 2
|
OB_GOT_HXY
sent 1, got 2
|
OB_GOT_SIG
sent 1, got 2, sent 3, got 4
|
OB_GOT_Y
sent 1, got 2 partial
|
OB_INIT |
OB_SENT_RI
sent 1, got 2, sent 3
|
OB_SENT_X
sent 1
|
VERIFIED
OB: got and verified 4; IB: got and verified 3 and sent 4
|
Modifier and Type | Method and Description |
---|---|
static EstablishBase.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static EstablishBase.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final EstablishBase.State OB_INIT
public static final EstablishBase.State OB_SENT_X
public static final EstablishBase.State OB_GOT_Y
public static final EstablishBase.State OB_GOT_HXY
public static final EstablishBase.State OB_SENT_RI
public static final EstablishBase.State OB_GOT_SIG
public static final EstablishBase.State IB_INIT
public static final EstablishBase.State IB_GOT_X
public static final EstablishBase.State IB_GOT_HX
public static final EstablishBase.State IB_SENT_Y
public static final EstablishBase.State IB_GOT_RI_SIZE
public static final EstablishBase.State IB_GOT_RI
public static final EstablishBase.State IB_NTCP2_INIT
public static final EstablishBase.State IB_NTCP2_GOT_X
public static final EstablishBase.State IB_NTCP2_GOT_PADDING
public static final EstablishBase.State IB_NTCP2_SENT_Y
public static final EstablishBase.State IB_NTCP2_GOT_RI
public static final EstablishBase.State IB_NTCP2_READ_RANDOM
public static final EstablishBase.State VERIFIED
public static final EstablishBase.State CORRUPT
public static EstablishBase.State[] values()
for (EstablishBase.State c : EstablishBase.State.values()) System.out.println(c);
public static EstablishBase.State valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null