public enum JwsAlgorithmType extends Enum<JwsAlgorithmType>
JwsAlgorithm
Enum Constant and Description |
---|
ECDSA
Elliptic Curve DSA signing algorithm.
|
HMAC
HMAC signing algorithm.
|
NONE
No digital signature or MAC value included.
|
RSA
RSA signing algorithm.
|
Modifier and Type | Method and Description |
---|---|
String |
toString()
Turns the JwsAlgorithmType constant into a JSON value string.
|
static JwsAlgorithmType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JwsAlgorithmType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JwsAlgorithmType NONE
public static final JwsAlgorithmType HMAC
public static final JwsAlgorithmType RSA
public static final JwsAlgorithmType ECDSA
public static JwsAlgorithmType[] values()
for (JwsAlgorithmType c : JwsAlgorithmType.values()) System.out.println(c);
public static JwsAlgorithmType 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<JwsAlgorithmType>
Copyright 2011-2017 ForgeRock AS.