Class PasswordConverter


  • public final class PasswordConverter
    extends java.lang.Object
    Standard char[] to byte[] converters for password based derivation algorithms.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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).
    • Constructor Detail

      • PasswordConverter

        public PasswordConverter()