public static enum AliceContext.Padding extends java.lang.Enum<AliceContext.Padding>
Enum Constant and Description |
---|
NO_PADDING
No padding
|
PKCS5_PADDING
The padding scheme described in
RSA Laboratories, "PKCS #5: Password-Based Encryption Standard," version 1.5,
November 1993
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
toString()
|
static AliceContext.Padding |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AliceContext.Padding[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AliceContext.Padding NO_PADDING
public static final AliceContext.Padding PKCS5_PADDING
public static AliceContext.Padding[] values()
for (AliceContext.Padding c : AliceContext.Padding.values()) System.out.println(c);
public static AliceContext.Padding 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 name
java.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<AliceContext.Padding>