public enum JwtSignatureAlgorithm extends Enum<JwtSignatureAlgorithm>
| Enum Constant and Description |
|---|
RS256 |
| Modifier and Type | Method and Description |
|---|---|
static JwtSignatureAlgorithm |
fromType(String type) |
static JwtSignatureAlgorithm |
fromValue(String value) |
String |
javaSignature() |
String |
type() |
String |
value() |
static JwtSignatureAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JwtSignatureAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JwtSignatureAlgorithm RS256
public static JwtSignatureAlgorithm[] values()
for (JwtSignatureAlgorithm c : JwtSignatureAlgorithm.values()) System.out.println(c);
public static JwtSignatureAlgorithm 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 String value()
public String javaSignature()
public String type()
public static JwtSignatureAlgorithm fromValue(String value)
public static JwtSignatureAlgorithm fromType(String type)
Copyright © 2020. All rights reserved.