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