public enum KeyStatusType extends Enum<KeyStatusType> implements com.google.protobuf.Internal.EnumLite
google.crypto.tink.KeyStatusType| Enum Constant and Description |
|---|
DESTROYED
Key data does not exist in this Keyset any more.
|
DISABLED
Cannot be used, but exists and can become ENABLED.
|
ENABLED
Can be used for crypto operations.
|
UNKNOWN_STATUS
UNKNOWN_STATUS = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DESTROYED_VALUE
Key data does not exist in this Keyset any more.
|
static int |
DISABLED_VALUE
Cannot be used, but exists and can become ENABLED.
|
static int |
ENABLED_VALUE
Can be used for crypto operations.
|
static int |
UNKNOWN_STATUS_VALUE
UNKNOWN_STATUS = 0; |
| Modifier and Type | Method and Description |
|---|---|
static KeyStatusType |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<KeyStatusType> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static KeyStatusType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KeyStatusType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyStatusType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyStatusType UNKNOWN_STATUS
UNKNOWN_STATUS = 0;public static final KeyStatusType ENABLED
Can be used for crypto operations.
ENABLED = 1;public static final KeyStatusType DISABLED
Cannot be used, but exists and can become ENABLED.
DISABLED = 2;public static final KeyStatusType DESTROYED
Key data does not exist in this Keyset any more.
DESTROYED = 3;public static final KeyStatusType UNRECOGNIZED
public static final int UNKNOWN_STATUS_VALUE
UNKNOWN_STATUS = 0;public static final int ENABLED_VALUE
Can be used for crypto operations.
ENABLED = 1;public static final int DISABLED_VALUE
Cannot be used, but exists and can become ENABLED.
DISABLED = 2;public static final int DESTROYED_VALUE
Key data does not exist in this Keyset any more.
DESTROYED = 3;public static KeyStatusType[] values()
for (KeyStatusType c : KeyStatusType.values()) System.out.println(c);
public static KeyStatusType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLite@Deprecated public static KeyStatusType valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static KeyStatusType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<KeyStatusType> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()