Enum KexExtensionHandler.AvailabilityPhase

java.lang.Object
java.lang.Enum<KexExtensionHandler.AvailabilityPhase>
org.apache.sshd.common.kex.extension.KexExtensionHandler.AvailabilityPhase
All Implemented Interfaces:
Serializable, Comparable<KexExtensionHandler.AvailabilityPhase>, java.lang.constant.Constable
Enclosing interface:
KexExtensionHandler

public static enum KexExtensionHandler.AvailabilityPhase extends Enum<KexExtensionHandler.AvailabilityPhase>
Provides a hint as to the context in which isKexExtensionsAvailable is invoked
Author:
Apache MINA SSHD Project
  • Enum Constant Details

    • PREKEX

      public static final KexExtensionHandler.AvailabilityPhase PREKEX
      Decide whether to delay sending the KEX-INIT message until the peer one has been received. Note: currently invoked only by client sessions, but code should not rely on this implicit assumption.
    • PROPOSAL

      public static final KexExtensionHandler.AvailabilityPhase PROPOSAL
      About to create the KEX-INIT proposal - should this session declare it support the KEX negotiation extension mechanism or not.
    • NEWKEYS

      public static final KexExtensionHandler.AvailabilityPhase NEWKEYS
      About to send the SSH_MSG_NEWKEYS message
    • AUTHOK

      public static final KexExtensionHandler.AvailabilityPhase AUTHOK
      About to send SSH_MSG_USERAUTH_SUCCESS message. Note: currently invoked only by server sessions, but code should not rely on this implicit assumption.
  • Method Details

    • values

      public static KexExtensionHandler.AvailabilityPhase[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static KexExtensionHandler.AvailabilityPhase valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null