public static enum JWSObject.State extends Enum<JWSObject.State>
Enum Constant and Description |
---|
SIGNED
The JWS object is signed but its signature is not verified.
|
UNSIGNED
The JWS object is created but not signed yet.
|
VERIFIED
The JWS object is signed and its signature was successfully verified.
|
Modifier and Type | Method and Description |
---|---|
static JWSObject.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JWSObject.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JWSObject.State UNSIGNED
public static final JWSObject.State SIGNED
public static final JWSObject.State VERIFIED
public static JWSObject.State[] values()
for (JWSObject.State c : JWSObject.State.values()) System.out.println(c);
public static JWSObject.State 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 nullCopyright © 2017 Connect2id Ltd.. All rights reserved.