java.io.Serializable, java.lang.Comparable<PasswordConverter>, CharToByteConverterpublic enum PasswordConverter extends java.lang.Enum<PasswordConverter> implements CharToByteConverter
| Enum Constant | Description |
|---|---|
ASCII |
Do a straight char[] to 8 bit conversion.
|
PKCS12 |
Do char[] to BMP conversion (i.e. 2 bytes per character).
|
UTF8 |
Do a char[] conversion by producing UTF-8 data.
|
| Modifier and Type | Method | Description |
|---|---|---|
static PasswordConverter |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static PasswordConverter[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
convert, getTypepublic static final PasswordConverter ASCII
public static final PasswordConverter UTF8
public static final PasswordConverter PKCS12
public static PasswordConverter[] values()
for (PasswordConverter c : PasswordConverter.values()) System.out.println(c);
public static PasswordConverter 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