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