Top Description Methods
org.bouncycastle.util.encoders

public Interface Translator

Known Direct Implementers
org.bouncycastle.util.encoders.HexTranslator

General interface for a translator.

Method Summary

Modifier and TypeMethod and Description
public int
decode(byte[] in, int inOff, int length, byte[] out, int outOff)

public int
encode(byte[] in, int inOff, int length, byte[] out, int outOff)

public int
getDecodedBlockSize()

size of the output block on decoding produced by getEncodedBlockSize() bytes.

public int
getEncodedBlockSize()

size of the output block on encoding produced by getDecodedBlockSize() bytes.

Method Detail

decodeback to summary
public int decode(byte[] in, int inOff, int length, byte[] out, int outOff)
encodeback to summary
public int encode(byte[] in, int inOff, int length, byte[] out, int outOff)
getDecodedBlockSizeback to summary
public int getDecodedBlockSize()

size of the output block on decoding produced by getEncodedBlockSize() bytes.

getEncodedBlockSizeback to summary
public int getEncodedBlockSize()

size of the output block on encoding produced by getDecodedBlockSize() bytes.