Top Constructors Methods
org.bouncycastle.crypto

public abstract Class DefaultMultiBlockCipher

extends Object
implements MultiBlockCipher
Class Inheritance
All Implemented Interfaces
org.bouncycastle.crypto.MultiBlockCipher, org.bouncycastle.crypto.BlockCipher
Known Direct Subclasses
org.bouncycastle.crypto.StreamBlockCipher, org.bouncycastle.crypto.modes.CBCBlockCipher, org.bouncycastle.crypto.engines.AESEngine

Constructor Summary

AccessConstructor and Description
protected

Method Summary

Modifier and TypeMethod and Description
public int
getMultiBlockSize()

Implements org.bouncycastle.crypto.MultiBlockCipher.getMultiBlockSize.

Return the multi-block size for this cipher (in bytes).
public int
processBlocks(byte[]
input data array.
in
,
int
start of input data in in.
inOff
,
int
number of blocks to be processed.
blockCount
,
byte[]
output data array.
out
,
int
start position for output data.
outOff
)

Implements org.bouncycastle.crypto.MultiBlockCipher.processBlocks.

Process blockCount blocks from input in offset inOff and place the output in out from offset outOff.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

DefaultMultiBlockCipherback to summary
protected DefaultMultiBlockCipher()

Method Detail

getMultiBlockSizeback to summary
public int getMultiBlockSize()

Implements org.bouncycastle.crypto.MultiBlockCipher.getMultiBlockSize.

Doc from org.bouncycastle.crypto.MultiBlockCipher.getMultiBlockSize.

Return the multi-block size for this cipher (in bytes).

Returns:int

the multi-block size for this cipher in bytes.

processBlocksback to summary
public int processBlocks(byte[] in, int inOff, int blockCount, byte[] out, int outOff) throws DataLengthException, IllegalStateException

Implements org.bouncycastle.crypto.MultiBlockCipher.processBlocks.

Doc from org.bouncycastle.crypto.MultiBlockCipher.processBlocks.

Process blockCount blocks from input in offset inOff and place the output in out from offset outOff.

Parameters
in:byte[]

input data array.

inOff:int

start of input data in in.

blockCount:int

number of blocks to be processed.

out:byte[]

output data array.

outOff:int

start position for output data.

Returns:int

number of bytes written to out.