public abstract class DefaultMultiBlockCipher extends java.lang.Object implements MultiBlockCipher
Modifier | Constructor and Description |
---|---|
protected |
DefaultMultiBlockCipher() |
Modifier and Type | Method and Description |
---|---|
int |
getMultiBlockSize()
Return the multi-block size for this cipher (in bytes).
|
int |
processBlocks(byte[] in,
int inOff,
int blockCount,
byte[] out,
int outOff)
Process blockCount blocks from input in offset inOff and place the output in
out from offset outOff.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithmName, getBlockSize, init, processBlock, reset
public int getMultiBlockSize()
MultiBlockCipher
getMultiBlockSize
in interface MultiBlockCipher
public int processBlocks(byte[] in, int inOff, int blockCount, byte[] out, int outOff) throws DataLengthException, java.lang.IllegalStateException
MultiBlockCipher
processBlocks
in interface MultiBlockCipher
in
- input data array.inOff
- start of input data in in.blockCount
- number of blocks to be processed.out
- output data array.outOff
- start position for output data.DataLengthException
java.lang.IllegalStateException