Package org.bouncycastle.crypto
Interface BufferedBlockCipher
- All Known Implementing Classes:
CTSBlockCipher,DefaultBufferedBlockCipher,DefaultBufferedMultiBlockCipher,KXTSBlockCipher,NISTCTSBlockCipher,OldCTSBlockCipher,PaddedBufferedBlockCipher,PaddedBufferedMultiBlockCipher
public interface BufferedBlockCipher
-
Method Summary
Modifier and TypeMethodDescriptionintdoFinal(byte[] out, int outOff) intintgetOutputSize(int length) intgetUpdateOutputSize(int len) voidinit(boolean forEncryption, CipherParameters params) intprocessByte(byte in, byte[] out, int outOff) intprocessBytes(byte[] in, int inOff, int len, byte[] out, int outOff) voidreset()
-
Method Details
-
getUnderlyingCipher
BlockCipher getUnderlyingCipher() -
init
- Throws:
IllegalArgumentException
-
getBlockSize
int getBlockSize() -
getUpdateOutputSize
int getUpdateOutputSize(int len) -
getOutputSize
int getOutputSize(int length) -
processByte
- Throws:
DataLengthException
-
processBytes
int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) throws DataLengthException, IllegalStateException -
doFinal
int doFinal(byte[] out, int outOff) throws DataLengthException, IllegalStateException, InvalidCipherTextException -
reset
void reset()
-