public static enum PasswordToByteConverter.ToBytesMode extends Enum<PasswordToByteConverter.ToBytesMode>
Enum Constant and Description |
---|
PKCS12
converts according to the scheme in PKCS12 (unicode, big endian, 2 zero pad bytes at the end).
|
PKCS5
converts according to the scheme in PKCS5 (ascii, no padding).
|
PKCS5_UTF8
converts according to the scheme in PKCS5 (UTF-8, no padding).
|
Modifier and Type | Method and Description |
---|---|
static PasswordToByteConverter.ToBytesMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PasswordToByteConverter.ToBytesMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PasswordToByteConverter.ToBytesMode PKCS5_UTF8
public static final PasswordToByteConverter.ToBytesMode PKCS5
public static final PasswordToByteConverter.ToBytesMode PKCS12
public static PasswordToByteConverter.ToBytesMode[] values()
for (PasswordToByteConverter.ToBytesMode c : PasswordToByteConverter.ToBytesMode.values()) System.out.println(c);
public static PasswordToByteConverter.ToBytesMode 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 nullCopyright © 2004–2022 XWiki. All rights reserved.