Example usage for Java org.bouncycastle.crypto.paddings PaddedBufferedBlockCipher fields, constructors, methods, implement or subclass
The text is from its open source code.
PaddedBufferedBlockCipher(BlockCipher cipher) Create a buffered block cipher PKCS7 padding | |
PaddedBufferedBlockCipher(BlockCipher cipher, BlockCipherPadding padding) Create a buffered block cipher with the desired padding. |
int | doFinal(byte[] out, int outOff) Process the last block in the buffer. |
int | getBlockSize() return the blocksize for the underlying cipher. |
int | getOutputSize(int len) return the minimum size of the output buffer required for an update plus a doFinal with an input of len bytes. |
BlockCipher | getUnderlyingCipher() return the cipher this object wraps. |
void | init(boolean forEncryption, CipherParameters params) initialise the cipher. |
int | processBytes(byte[] in, int inOff, int len, byte[] out, int outOff) process an array of bytes, producing output if necessary. |
void | reset() Reset the buffer and cipher. |