public static enum CipherStage.CipherMode extends Enum<CipherStage.CipherMode>
Modifier and Type | Method and Description |
---|---|
static CipherStage.CipherMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CipherStage.CipherMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CipherStage.CipherMode ENCRYPT
public static final CipherStage.CipherMode DECRYPT
public static CipherStage.CipherMode[] values()
for (CipherStage.CipherMode c : CipherStage.CipherMode.values()) System.out.println(c);
public static CipherStage.CipherMode 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 © 2015–2020. All rights reserved.