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