java.lang.Object
java.lang.Enum<SSHKexMethod>
com.blackhillsoftware.smf.smf119.zert.SSHKexMethod
All Implemented Interfaces:
Serializable, Comparable<SSHKexMethod>, java.lang.constant.Constable

public enum SSHKexMethod extends Enum<SSHKexMethod>
  • Enum Constant Details

    • UNKNOWN

      public static final SSHKexMethod UNKNOWN
      Constant: 0x00 = 0
    • NONE

      public static final SSHKexMethod NONE
      Constant: 0x01 = 1
    • DH_GEX_SHA256

      public static final SSHKexMethod DH_GEX_SHA256
      Constant: 0x02 = 2
    • DH_GEX_SHA1

      public static final SSHKexMethod DH_GEX_SHA1
      Constant: 0x03 = 3
    • DH_G14_SHA1

      public static final SSHKexMethod DH_G14_SHA1
      Constant: 0x04 = 4
    • DH_G1_SHA1

      public static final SSHKexMethod DH_G1_SHA1
      Constant: 0x05 = 5
    • ECDH_SHA2_NISTP_256

      public static final SSHKexMethod ECDH_SHA2_NISTP_256
      Constant: 0x06 = 6
    • ECDH_SHA2_NISTP_384

      public static final SSHKexMethod ECDH_SHA2_NISTP_384
      Constant: 0x07 = 7
    • ECDH_SHA2_NISTP_521

      public static final SSHKexMethod ECDH_SHA2_NISTP_521
      Constant: 0x08 = 8
    • GSS_G1_SHA1

      public static final SSHKexMethod GSS_G1_SHA1
      Constant: 0x09 = 9
    • GSS_G14_SHA1

      public static final SSHKexMethod GSS_G14_SHA1
      Constant: 0x0A = 10
    • GSS_GEX_SHA1

      public static final SSHKexMethod GSS_GEX_SHA1
      Constant: 0x0B = 11
    • ECMQV_SHA2

      public static final SSHKexMethod ECMQV_SHA2
      Constant: 0x0C = 12
    • GSS

      public static final SSHKexMethod GSS
      Constant: 0x0D = 13
    • RSA1024_SHA1

      public static final SSHKexMethod RSA1024_SHA1
      Constant: 0x0E = 14
    • RSA2048_SHA256

      public static final SSHKexMethod RSA2048_SHA256
      Constant: 0x0F = 15
    • DH_G14_SHA256

      public static final SSHKexMethod DH_G14_SHA256
      Constant: 0x10 = 16
    • DH_G16_SHA512

      public static final SSHKexMethod DH_G16_SHA512
      Constant: 0x11 = 17
    • DH_G18_SHA512

      public static final SSHKexMethod DH_G18_SHA512
      Constant: 0x12 = 18
    • CRV_22519_SHA256

      public static final SSHKexMethod CRV_22519_SHA256
      Constant: 0x13 = 19
    • GSS_G14_SHA256

      public static final SSHKexMethod GSS_G14_SHA256
      Constant: 0x14 = 20
    • GSS_G16_SHA512

      public static final SSHKexMethod GSS_G16_SHA512
      Constant: 0x15 = 21
    • GSS_NISTP256_SHA256

      public static final SSHKexMethod GSS_NISTP256_SHA256
      Constant: 0x16 = 22
    • GSS_CRV_25519_SHA256

      public static final SSHKexMethod GSS_CRV_25519_SHA256
      Constant: 0x17 = 23
    • NOT_DEFINED

      public static final SSHKexMethod NOT_DEFINED
  • Method Details

    • values

      public static SSHKexMethod[] 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 SSHKexMethod 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
    • from

      public static SSHKexMethod from(int value)
      Get the SSHKexMethod for an integer value
      Parameters:
      value - the integer value
      Returns:
      the corresponding SSHKexMethod