public enum PaddingScheme extends Enum<PaddingScheme>
Cipher
padding schemes.Modifier and Type | Method and Description |
---|---|
String |
toString() |
static PaddingScheme |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PaddingScheme[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaddingScheme NONE
public static final PaddingScheme PKCS5
public static PaddingScheme[] values()
for (PaddingScheme c : PaddingScheme.values()) System.out.println(c);
public static PaddingScheme 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 nullpublic String toString()
toString
in class Enum<PaddingScheme>