public static enum KexExtensionHandler.AvailabilityPhase extends Enum<KexExtensionHandler.AvailabilityPhase>
isKexExtensionsAvailable
is invokedEnum Constant and Description |
---|
AUTHOK
About to send
SSH_MSG_USERAUTH_SUCCESS message. |
NEWKEYS
About to send the
SSH_MSG_NEWKEYS message |
PREKEX
Decide whether to delay sending the KEX-INIT message until the peer one has been received.
|
PROPOSAL
About to create the KEX-INIT proposal - should this session declare it support the KEX negotiation extension
mechanism or not.
|
Modifier and Type | Method and Description |
---|---|
static KexExtensionHandler.AvailabilityPhase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KexExtensionHandler.AvailabilityPhase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KexExtensionHandler.AvailabilityPhase PREKEX
public static final KexExtensionHandler.AvailabilityPhase PROPOSAL
public static final KexExtensionHandler.AvailabilityPhase NEWKEYS
SSH_MSG_NEWKEYS
messagepublic static final KexExtensionHandler.AvailabilityPhase AUTHOK
SSH_MSG_USERAUTH_SUCCESS
message. Note: currently invoked only by server
sessions, but code should not rely on this implicit assumption.public static KexExtensionHandler.AvailabilityPhase[] values()
for (KexExtensionHandler.AvailabilityPhase c : KexExtensionHandler.AvailabilityPhase.values()) System.out.println(c);
public static KexExtensionHandler.AvailabilityPhase 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 nullCopyright © 2008–2024 The Apache Software Foundation. All rights reserved.