public enum PasswordConverter extends java.lang.Enum<PasswordConverter> implements CharToByteConverter
Enum Constant and 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 and 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.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
convert, getType
public 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