Enum KexExtensionHandler.AvailabilityPhase

    • Enum Constant Detail

      • 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.
      • 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 Detail

      • values

        public static KexExtensionHandler.AvailabilityPhase[] values()
        Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
        for (KexExtensionHandler.AvailabilityPhase c : KexExtensionHandler.AvailabilityPhase.values())
            System.out.println(c);
        
        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