public enum JwtAlgorithm extends Enum<JwtAlgorithm> implements Valuable
| Enum Constant and Description |
|---|
ES256 |
ES384 |
ES512 |
HS256 |
HS384 |
HS512 |
NONE |
PS256 |
PS384 |
PS512 |
RS256 |
RS384 |
RS512 |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue() |
static JwtAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JwtAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JwtAlgorithm HS256
public static final JwtAlgorithm HS384
public static final JwtAlgorithm HS512
public static final JwtAlgorithm RS256
public static final JwtAlgorithm RS384
public static final JwtAlgorithm RS512
public static final JwtAlgorithm ES256
public static final JwtAlgorithm ES384
public static final JwtAlgorithm ES512
public static final JwtAlgorithm PS256
public static final JwtAlgorithm PS384
public static final JwtAlgorithm PS512
public static final JwtAlgorithm NONE
public static JwtAlgorithm[] values()
for (JwtAlgorithm c : JwtAlgorithm.values()) System.out.println(c);
public static JwtAlgorithm 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