Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.mozilla.jss.pkcs12
Class PasswordConverter

    java.lang.Object
      |
      +--org.mozilla.jss.pkcs12.PasswordConverter

public final class PasswordConverter
extends java.lang.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.

Constructor Summary
`PasswordConverter()`

Method Summary
`byte[]` | `convert(char[] chars)`

Methods inherited from class java.lang.Object
`, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait`

Constructor Detail

### PasswordConverter

    public PasswordConverter()

Method Detail

### convert

    public byte[] convert(char[] chars)

  Specified by:
    convert in interface KeyGenerator.CharToByteConverter

Overview | Package | Class | Tree | Deprecated | Index | Help
| JSS 3.1
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD