Package org.bouncycastle.crypto.internal
Interface BufferedBlockCipher
- All Known Implementing Classes:
DefaultBufferedBlockCipher,DefaultBufferedMultiBlockCipher,NISTCTSBlockCipher,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) 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) -
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()
-