public enum CipherMode extends java.lang.Enum<CipherMode>
Enum Constant and Description |
---|
CBC
Cipher-block chaining.
|
CFB64
Cipher feedback, self-synchronizing with 64 bit shift register.
|
CFB8
Cipher feedback, self-synchronizing with 8 bit shift register.
|
ECB
Electronic Code Book.
|
Modifier and Type | Method and Description |
---|---|
static CipherMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CipherMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CipherMode ECB
public static final CipherMode CBC
public static final CipherMode CFB8
public static final CipherMode CFB64
public static CipherMode[] values()
for (CipherMode c : CipherMode.values()) System.out.println(c);
public static CipherMode 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