Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.bouncycastle.crypto
Interface CharToByteConverter

public interface CharToByteConverter

Interface for a converter that produces a byte encoding for a char array.

Method Summary
`byte[]` | `convert(char[] password)` Return a byte encoded representation of the passed in password.
`java.lang.String` | `getType()` Return the type of the conversion.

Method Detail

### getType

    public java.lang.String getType()

  Return the type of the conversion.

  Returns:
    a type name for the conversion.

### convert

    public byte[] convert(char[] password)

  Return a byte encoded representation of the passed in password.

  Parameters:
    `password` - the characters to encode.
  Returns:
    a byte encoding of password.

Overview | Package | Class | Tree | Deprecated | Index | Help
| Bouncy Castle Cryptography Library 1.85
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD