|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SeekableBlockCipher
Extends a BlockCipher in order to support random access to
the blocks in a plain or cipher text.
| Method Summary | |
|---|---|
long |
getBlockCounter()
Returns the index of the block, starting at 0, which will be processed next when BlockCipher.processBlock(byte[], int, byte[], int) is called. |
void |
setBlockCounter(long block)
Sets the counter so that the block with the given index, starting at 0, can be processed next. |
| Methods inherited from interface org.bouncycastle.crypto.BlockCipher |
|---|
getAlgorithmName, getBlockSize, init, processBlock, reset |
| Method Detail |
|---|
void setBlockCounter(long block)
block - The index of the block, starting at 0, which will be
processed next when
BlockCipher.processBlock(byte[], int, byte[], int) is called.long getBlockCounter()
BlockCipher.processBlock(byte[], int, byte[], int) is called.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||