public enum SignAlgorithm extends Enum<SignAlgorithm>
| Modifier and Type | Method and Description |
|---|---|
String |
getJdkAlgorithm() |
Algorithm |
getJwtAglgorithm() |
void |
setJdkAlgorithm(String jdkAlgorithm) |
void |
setJwtAglgorithm(Algorithm jwtAglgorithm) |
static SignAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SignAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignAlgorithm HS256
public static final SignAlgorithm RS256
public static SignAlgorithm[] values()
for (SignAlgorithm c : SignAlgorithm.values()) System.out.println(c);
public static SignAlgorithm 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 Algorithm getJwtAglgorithm()
public void setJwtAglgorithm(Algorithm jwtAglgorithm)
public String getJdkAlgorithm()
public void setJdkAlgorithm(String jdkAlgorithm)
Copyright © 2017. All rights reserved.