public static enum MockJwtSource.Kid extends Enum<MockJwtSource.Kid>
Enum Constant and Description |
---|
EU_SPIRE_1 |
EU_SPIRE_2 |
INVALID_KID |
RSA_EXCLUDE_SPIRE_1 |
RSA_EXCLUDE_SPIRE_2 |
RSA_SPIRE_1 |
RSA_SPIRE_2 |
Modifier and Type | Method and Description |
---|---|
static MockJwtSource.Kid |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MockJwtSource.Kid[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MockJwtSource.Kid RSA_SPIRE_1
public static final MockJwtSource.Kid RSA_EXCLUDE_SPIRE_1
public static final MockJwtSource.Kid EU_SPIRE_1
public static final MockJwtSource.Kid RSA_SPIRE_2
public static final MockJwtSource.Kid RSA_EXCLUDE_SPIRE_2
public static final MockJwtSource.Kid EU_SPIRE_2
public static final MockJwtSource.Kid INVALID_KID
public static MockJwtSource.Kid[] values()
for (MockJwtSource.Kid c : MockJwtSource.Kid.values()) System.out.println(c);
public static MockJwtSource.Kid 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 null