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.IllegalArgumentExceptionint getBlockSize()
int getUpdateOutputSize(int len)
int getOutputSize(int length)
int processByte(byte in,
byte[] out,
int outOff)
throws DataLengthException
DataLengthExceptionint processBytes(byte[] in,
int inOff,
int len,
byte[] out,
int outOff)
throws DataLengthException,
java.lang.IllegalStateException
DataLengthExceptionjava.lang.IllegalStateExceptionint doFinal(byte[] out,
int outOff)
throws DataLengthException,
java.lang.IllegalStateException,
InvalidCipherTextException
DataLengthExceptionjava.lang.IllegalStateExceptionInvalidCipherTextExceptionvoid reset()