Top Description Methods
org.bouncycastle.crypto

public Interface CharToByteConverter

Known Direct Implementers
org.bouncycastle.crypto.PasswordConverter

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

Method Summary

Modifier and TypeMethod and Description
public byte[]

Returns:

a byte encoding of password.
convert
(char[]
the characters to encode.
password
)

Return a byte encoded representation of the passed in password.

public String

Returns:

a type name for the conversion.
getType
()

Return the type of the conversion.

Method Detail

convertback to summary
public byte[] convert(char[] password)

Return a byte encoded representation of the passed in password.

Parameters
password:char[]

the characters to encode.

Returns:byte[]

a byte encoding of password.

getTypeback to summary
public String getType()

Return the type of the conversion.

Returns:String

a type name for the conversion.