public enum JweAlgorithm extends Enum<JweAlgorithm> implements Algorithm
Enum Constant and Description |
---|
RSAES_PKCS1_V1_5
RSA in ECB mode with PKCS1 Padding.
|
Modifier and Type | Method and Description |
---|---|
String |
getAlgorithm()
Gets the actual name of the algorithm that is understood by Java cryptographic operations.
|
JweAlgorithmType |
getAlgorithmType()
Gets the JweAlgorithmType of the JweAlgorithm.
|
String |
toString()
Turns the JweAlgorithm constant into a JSON value string.
|
static JweAlgorithm |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JweAlgorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JweAlgorithm RSAES_PKCS1_V1_5
public static JweAlgorithm[] values()
for (JweAlgorithm c : JweAlgorithm.values()) System.out.println(c);
public static JweAlgorithm 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 getAlgorithm()
getAlgorithm
in interface Algorithm
public JweAlgorithmType getAlgorithmType()
public String toString()
toString
in class Enum<JweAlgorithm>
Copyright 2011-2015 ForgeRock AS.