org.mozilla.jss.pkcs12

Class PasswordConverter

public final class PasswordConverter extends Object implements KeyGenerator.CharToByteConverter

Converts password chars to bytes. The output format is big-endian Unicode, with two zero bytes of null-termination at the end.
Method Summary
byte[]convert(char[] chars)

Method Detail

convert

public byte[] convert(char[] chars)