public enum HpkeAead extends Enum<HpkeAead> implements com.google.protobuf.Internal.EnumLite
google.crypto.tink.HpkeAead| Enum Constant and Description |
|---|
AEAD_UNKNOWN
AEAD_UNKNOWN = 0; |
AES_128_GCM
AES_128_GCM = 1; |
AES_256_GCM
AES_256_GCM = 2; |
CHACHA20_POLY1305
CHACHA20_POLY1305 = 3; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AEAD_UNKNOWN_VALUE
AEAD_UNKNOWN = 0; |
static int |
AES_128_GCM_VALUE
AES_128_GCM = 1; |
static int |
AES_256_GCM_VALUE
AES_256_GCM = 2; |
static int |
CHACHA20_POLY1305_VALUE
CHACHA20_POLY1305 = 3; |
| Modifier and Type | Method and Description |
|---|---|
static HpkeAead |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<HpkeAead> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static HpkeAead |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HpkeAead |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HpkeAead[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HpkeAead AEAD_UNKNOWN
AEAD_UNKNOWN = 0;public static final HpkeAead AES_128_GCM
AES_128_GCM = 1;public static final HpkeAead AES_256_GCM
AES_256_GCM = 2;public static final HpkeAead CHACHA20_POLY1305
CHACHA20_POLY1305 = 3;public static final HpkeAead UNRECOGNIZED
public static final int AEAD_UNKNOWN_VALUE
AEAD_UNKNOWN = 0;public static final int AES_128_GCM_VALUE
AES_128_GCM = 1;public static final int AES_256_GCM_VALUE
AES_256_GCM = 2;public static final int CHACHA20_POLY1305_VALUE
CHACHA20_POLY1305 = 3;public static HpkeAead[] values()
for (HpkeAead c : HpkeAead.values()) System.out.println(c);
public static HpkeAead 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 HpkeAead valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static HpkeAead forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<HpkeAead> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()