public static enum DecryptedMessage.EncryptionState extends java.lang.Enum<DecryptedMessage.EncryptionState>
Enum Constant and Description |
---|
CANNOT_DECRYPT
Specifies that the data in the DecryptedMessage object WAS encrypted
but could not be decrypted.
|
DECRYPTED
Specifies that the data in the DecryptedMessage object WAS originally
encrypted and has been successfully decrypted to it's present byte array.
|
NOT_ENCRYPTED
Specifies that the data in the DecryptedMessage object was NOT
encrypted and the present data byte array just represents the original data.
|
Modifier and Type | Method and Description |
---|---|
static DecryptedMessage.EncryptionState |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DecryptedMessage.EncryptionState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DecryptedMessage.EncryptionState DECRYPTED
public static final DecryptedMessage.EncryptionState NOT_ENCRYPTED
public static final DecryptedMessage.EncryptionState CANNOT_DECRYPT
public static DecryptedMessage.EncryptionState[] values()
for (DecryptedMessage.EncryptionState c : DecryptedMessage.EncryptionState.values()) System.out.println(c);
public static DecryptedMessage.EncryptionState 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