Enum Class KeyExchanger.Expected

java.lang.Object
java.lang.Enum<KeyExchanger.Expected>
net.schmizz.sshj.transport.KeyExchanger.Expected
All Implemented Interfaces:
Serializable, Comparable<KeyExchanger.Expected>, Constable
Enclosing class:
KeyExchanger

private static enum KeyExchanger.Expected extends Enum<KeyExchanger.Expected>
  • Enum Constant Details

    • KEXINIT

      public static final KeyExchanger.Expected KEXINIT
      we have sent or are sending KEXINIT, and expect the server's KEXINIT
    • FOLLOWUP

      public static final KeyExchanger.Expected FOLLOWUP
      we are expecting some followup data as part of the exchange
    • NEWKEYS

      public static final KeyExchanger.Expected NEWKEYS
      we are expecting SSH_MSG_NEWKEYS
  • Constructor Details

    • Expected

      private Expected()
  • Method Details

    • values

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

      public static KeyExchanger.Expected valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null