public static enum IdeaFileEncryption.Mode extends Enum<IdeaFileEncryption.Mode>
See Wikipedia.
The current implementation only supports ECB and CBC (with interleave factor 1).
Enum Constant and Description |
---|
CBC
Cipher Block Chaining mode.
|
ECB
Electronic Codebook mode.
|
Modifier and Type | Method and Description |
---|---|
static IdeaFileEncryption.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IdeaFileEncryption.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IdeaFileEncryption.Mode ECB
public static final IdeaFileEncryption.Mode CBC
public static IdeaFileEncryption.Mode[] values()
for (IdeaFileEncryption.Mode c : IdeaFileEncryption.Mode.values()) System.out.println(c);
public static IdeaFileEncryption.Mode 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