Enum Class Key.KeyCase

java.lang.Object
java.lang.Enum<Key.KeyCase>
com.hedera.hashgraph.sdk.proto.Key.KeyCase
All Implemented Interfaces:
Serializable, Comparable<Key.KeyCase>, Constable
Enclosing class:
Key

public static enum Key.KeyCase extends Enum<Key.KeyCase>
  • Enum Constant Details

    • CONTRACTID

      public static final Key.KeyCase CONTRACTID
    • ED25519

      public static final Key.KeyCase ED25519
    • RSA_3072

      public static final Key.KeyCase RSA_3072
    • ECDSA_384

      public static final Key.KeyCase ECDSA_384
    • THRESHOLDKEY

      public static final Key.KeyCase THRESHOLDKEY
    • KEYLIST

      public static final Key.KeyCase KEYLIST
    • ECDSA_SECP256K1

      public static final Key.KeyCase ECDSA_SECP256K1
    • DELEGATABLE_CONTRACT_ID

      public static final Key.KeyCase DELEGATABLE_CONTRACT_ID
    • KEY_NOT_SET

      public static final Key.KeyCase KEY_NOT_SET
  • Method Details

    • values

      public static Key.KeyCase[] 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 Key.KeyCase 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
    • valueOf

      @Deprecated public static Key.KeyCase valueOf(int value)
      Deprecated.
      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:
      value - 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
    • forNumber

      public static Key.KeyCase forNumber(int value)
    • getNumber

      public int getNumber()