public static enum SignableMessage.SignatureState extends java.lang.Enum<SignableMessage.SignatureState>
SignableMessage
.Enum Constant and Description |
---|
INVALID_SIGNATURE
The message signature is invalid or unrecognized.
|
NEEDS_SIGNATURE
This message needs signature to be computed at transmission time (for a signature algorithm that is time-based).
|
NOT_CHECKED
The message signature has not been checked yet.
|
UNSIGNED
The message does not have a signature (even though the message type allows it).
|
VALID_SIGNATURE
The message signature has been tested to be valid.
|
Modifier and Type | Method and Description |
---|---|
static SignableMessage.SignatureState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SignableMessage.SignatureState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SignableMessage.SignatureState NOT_CHECKED
public static final SignableMessage.SignatureState UNSIGNED
public static final SignableMessage.SignatureState VALID_SIGNATURE
public static final SignableMessage.SignatureState INVALID_SIGNATURE
public static final SignableMessage.SignatureState NEEDS_SIGNATURE
public static SignableMessage.SignatureState[] values()
for (SignableMessage.SignatureState c : SignableMessage.SignatureState.values()) System.out.println(c);
public static SignableMessage.SignatureState valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null