Top Description Fields Constructors Methods
org.apache.sshd.common.kex

public final Enum KexState

extends Enum<KexState>
Class Inheritance
Imports
java.util.Collections, .EnumSet, .Set

Used to track the key-exchange (KEX) protocol progression.
Author
Apache MINA SSHD Project

Field Summary

Modifier and TypeField and Description
public static final KexState
DONE

The key exchange is done; both parties have received the peer's SSH:MSG_NEW_KEYS, and there is no ongoing key exchange.

public static final KexState
INIT

A key exchange has been initiated by this party.

public static final KexState
KEYS

Keys have been exchanged; this party has sent its SSH_MSG_NEW_KEYS.

public static final KexState
RUN

A key exchange is running.

public static final KexState
public static final Set<KexState>

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static KexState
public static KexState[]
Inherited from java.lang.Enum:
clonecompareTodescribeConstableequalsfinalizegetDeclaringClasshashCodenameordinaltoStringvalueOf

Field Detail

DONEback to summary
public static final KexState DONE

The key exchange is done; both parties have received the peer's SSH:MSG_NEW_KEYS, and there is no ongoing key exchange.

INITback to summary
public static final KexState INIT

A key exchange has been initiated by this party.

KEYSback to summary
public static final KexState KEYS

Keys have been exchanged; this party has sent its SSH_MSG_NEW_KEYS.

RUNback to summary
public static final KexState RUN

A key exchange is running. Both sides have received the peer's SSH_MSG_KEX_INIT.

UNKNOWNback to summary
public static final KexState UNKNOWN
VALUESback to summary
public static final Set<KexState> VALUES

Constructor Detail

KexStateback to summary
private KexState()

Method Detail

valueOfback to summary
public static KexState valueOf(String name)
valuesback to summary
public static KexState[] values()