public enum JwtAlgorithm extends Enum<JwtAlgorithm>
Enum Constant and Description |
---|
HMAC256
HmacSHA256 algorithm
|
HMAC384
HmacSHA384 algorithm
|
HMAC512
HmacSHA512 algorithm
|
Modifier and Type | Method and Description |
---|---|
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 HMAC256
public static final JwtAlgorithm HMAC384
public static final JwtAlgorithm HMAC512
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 nullApache Camel