public interface BufferedBlockCipher
Modifier and Type | Method and Description |
---|---|
int |
doFinal(byte[] out,
int outOff) |
int |
getBlockSize() |
int |
getOutputSize(int length) |
BlockCipher |
getUnderlyingCipher() |
int |
getUpdateOutputSize(int len) |
void |
init(boolean forEncryption,
CipherParameters params) |
int |
processByte(byte in,
byte[] out,
int outOff) |
int |
processBytes(byte[] in,
int inOff,
int len,
byte[] out,
int outOff) |
void |
reset() |
BlockCipher getUnderlyingCipher()
void init(boolean forEncryption, CipherParameters params) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentException
int getBlockSize()
int getUpdateOutputSize(int len)
int getOutputSize(int length)
int processByte(byte in, byte[] out, int outOff) throws DataLengthException
DataLengthException
int processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) throws DataLengthException, java.lang.IllegalStateException
DataLengthException
java.lang.IllegalStateException
int doFinal(byte[] out, int outOff) throws DataLengthException, java.lang.IllegalStateException, InvalidCipherTextException
DataLengthException
java.lang.IllegalStateException
InvalidCipherTextException
void reset()