public enum JwtHmacAlgorithm extends Enum<JwtHmacAlgorithm> implements com.google.protobuf.Internal.EnumLite
See https://datatracker.ietf.org/doc/html/rfc7518#section-3.2Protobuf enum
google.crypto.tink.JwtHmacAlgorithm| Enum Constant and Description |
|---|
HS_UNKNOWN
HS_UNKNOWN = 0; |
HS256
HMAC using SHA-256
|
HS384
HMAC using SHA-384
|
HS512
HMAC using SHA-512
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
HS_UNKNOWN_VALUE
HS_UNKNOWN = 0; |
static int |
HS256_VALUE
HMAC using SHA-256
|
static int |
HS384_VALUE
HMAC using SHA-384
|
static int |
HS512_VALUE
HMAC using SHA-512
|
| Modifier and Type | Method and Description |
|---|---|
static JwtHmacAlgorithm |
forNumber(int value) |
int |
getNumber() |
static com.google.protobuf.Internal.EnumLiteMap<JwtHmacAlgorithm> |
internalGetValueMap() |
static com.google.protobuf.Internal.EnumVerifier |
internalGetVerifier() |
static JwtHmacAlgorithm |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static JwtHmacAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JwtHmacAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JwtHmacAlgorithm HS_UNKNOWN
HS_UNKNOWN = 0;public static final JwtHmacAlgorithm HS256
HMAC using SHA-256
HS256 = 1;public static final JwtHmacAlgorithm HS384
HMAC using SHA-384
HS384 = 2;public static final JwtHmacAlgorithm HS512
HMAC using SHA-512
HS512 = 3;public static final JwtHmacAlgorithm UNRECOGNIZED
public static final int HS_UNKNOWN_VALUE
HS_UNKNOWN = 0;public static final int HS256_VALUE
HMAC using SHA-256
HS256 = 1;public static final int HS384_VALUE
HMAC using SHA-384
HS384 = 2;public static final int HS512_VALUE
HMAC using SHA-512
HS512 = 3;public static JwtHmacAlgorithm[] values()
for (JwtHmacAlgorithm c : JwtHmacAlgorithm.values()) System.out.println(c);
public static JwtHmacAlgorithm 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 JwtHmacAlgorithm valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static JwtHmacAlgorithm forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<JwtHmacAlgorithm> internalGetValueMap()
public static com.google.protobuf.Internal.EnumVerifier internalGetVerifier()