public static enum OpenPgpMessage.State extends Enum<OpenPgpMessage.State>
Enum Constant and Description |
---|
crypt
Represents a
CryptElement . |
sign
Represents a
SignElement . |
signcrypt
Represents a
SigncryptElement . |
Modifier and Type | Method and Description |
---|---|
static OpenPgpMessage.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenPgpMessage.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenPgpMessage.State signcrypt
SigncryptElement
.public static final OpenPgpMessage.State sign
SignElement
.public static final OpenPgpMessage.State crypt
CryptElement
.public static OpenPgpMessage.State[] values()
for (OpenPgpMessage.State c : OpenPgpMessage.State.values()) System.out.println(c);
public static OpenPgpMessage.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 null