public static enum KeyData.KeyMaterialType extends Enum<KeyData.KeyMaterialType> implements com.google.protobuf.Internal.EnumLite
google.crypto.tink.KeyData.KeyMaterialType| Enum Constant and Description |
|---|
ASYMMETRIC_PRIVATE
ASYMMETRIC_PRIVATE = 2; |
ASYMMETRIC_PUBLIC
ASYMMETRIC_PUBLIC = 3; |
REMOTE
points to a remote key, i.e., in a KMS.
|
SYMMETRIC
SYMMETRIC = 1; |
UNKNOWN_KEYMATERIAL
UNKNOWN_KEYMATERIAL = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ASYMMETRIC_PRIVATE_VALUE
ASYMMETRIC_PRIVATE = 2; |
static int |
ASYMMETRIC_PUBLIC_VALUE
ASYMMETRIC_PUBLIC = 3; |
static int |
REMOTE_VALUE
points to a remote key, i.e., in a KMS.
|
static int |
SYMMETRIC_VALUE
SYMMETRIC = 1; |
static int |
UNKNOWN_KEYMATERIAL_VALUE
UNKNOWN_KEYMATERIAL = 0; |
| Modifier and Type | Method and Description |
|---|---|
static KeyData.KeyMaterialType |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<KeyData.KeyMaterialType> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static KeyData.KeyMaterialType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static KeyData.KeyMaterialType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static KeyData.KeyMaterialType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final KeyData.KeyMaterialType UNKNOWN_KEYMATERIAL
UNKNOWN_KEYMATERIAL = 0;public static final KeyData.KeyMaterialType SYMMETRIC
SYMMETRIC = 1;public static final KeyData.KeyMaterialType ASYMMETRIC_PRIVATE
ASYMMETRIC_PRIVATE = 2;public static final KeyData.KeyMaterialType ASYMMETRIC_PUBLIC
ASYMMETRIC_PUBLIC = 3;public static final KeyData.KeyMaterialType REMOTE
points to a remote key, i.e., in a KMS.
REMOTE = 4;public static final KeyData.KeyMaterialType UNRECOGNIZED
public static final int UNKNOWN_KEYMATERIAL_VALUE
UNKNOWN_KEYMATERIAL = 0;public static final int SYMMETRIC_VALUE
SYMMETRIC = 1;public static final int ASYMMETRIC_PRIVATE_VALUE
ASYMMETRIC_PRIVATE = 2;public static final int ASYMMETRIC_PUBLIC_VALUE
ASYMMETRIC_PUBLIC = 3;public static final int REMOTE_VALUE
points to a remote key, i.e., in a KMS.
REMOTE = 4;public static KeyData.KeyMaterialType[] values()
for (KeyData.KeyMaterialType c : KeyData.KeyMaterialType.values()) System.out.println(c);
public static KeyData.KeyMaterialType 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 KeyData.KeyMaterialType valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static KeyData.KeyMaterialType forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<KeyData.KeyMaterialType> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()