Package org.bouncycastle.crypto
Interface BufferedBlockCipher
-
- All Known Implementing Classes:
CTSBlockCipher,DefaultBufferedBlockCipher,DefaultBufferedMultiBlockCipher,KXTSBlockCipher,NISTCTSBlockCipher,OldCTSBlockCipher,PaddedBufferedBlockCipher,PaddedBufferedMultiBlockCipher
public interface BufferedBlockCipher
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intdoFinal(byte[] out, int outOff)intgetBlockSize()intgetOutputSize(int length)BlockCiphergetUnderlyingCipher()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 Detail
-
getUnderlyingCipher
BlockCipher getUnderlyingCipher()
-
init
void init(boolean forEncryption, CipherParameters params) throws java.lang.IllegalArgumentException- Throws:
java.lang.IllegalArgumentException
-
getBlockSize
int getBlockSize()
-
getUpdateOutputSize
int getUpdateOutputSize(int len)
-
getOutputSize
int getOutputSize(int length)
-
processByte
int processByte(byte in, byte[] out, int outOff) throws DataLengthException- Throws:
DataLengthException
-
processBytes
int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) throws DataLengthException, java.lang.IllegalStateException- Throws:
DataLengthExceptionjava.lang.IllegalStateException
-
doFinal
int doFinal(byte[] out, int outOff) throws DataLengthException, java.lang.IllegalStateException, InvalidCipherTextException- Throws:
DataLengthExceptionjava.lang.IllegalStateExceptionInvalidCipherTextException
-
reset
void reset()
-
-