public enum JweAlgorithmType extends Enum<JweAlgorithmType>
JweAlgorithm
Enum Constant and Description |
---|
AES_KEYWRAP
AES KeyWrap.
|
DIRECT
Direct symmetric encryption.
|
RSA
RSA encryption algorithm.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Turns the JweAlgorithmType constant into a JSON value string.
|
static JweAlgorithmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JweAlgorithmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JweAlgorithmType RSA
public static final JweAlgorithmType DIRECT
public static final JweAlgorithmType AES_KEYWRAP
public static JweAlgorithmType[] values()
for (JweAlgorithmType c : JweAlgorithmType.values()) System.out.println(c);
public static JweAlgorithmType 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 toString()
toString
in class Enum<JweAlgorithmType>
Copyright 2011-2015 ForgeRock AS.