Package org.bouncycastle.crypto
Class PasswordConverter
- java.lang.Object
-
- org.bouncycastle.crypto.PasswordConverter
-
public final class PasswordConverter extends java.lang.Object
Standard char[] to byte[] converters for password based derivation algorithms.
-
-
Field Summary
Fields Modifier and Type Field Description static CharToByteConverter
ASCII
Do a straight char[] to 8 bit conversion.static CharToByteConverter
PKCS12
Do char[] to BMP conversion (i.e.static CharToByteConverter
UTF8
Do a char[] conversion by producing UTF-8 data.
-
Constructor Summary
Constructors Constructor Description PasswordConverter()
-
-
-
Field Detail
-
ASCII
public static final CharToByteConverter ASCII
Do a straight char[] to 8 bit conversion.
-
UTF8
public static final CharToByteConverter UTF8
Do a char[] conversion by producing UTF-8 data.
-
PKCS12
public static final CharToByteConverter PKCS12
Do char[] to BMP conversion (i.e. 2 bytes per character).
-
-