Java org.bouncycastle.crypto.paddings PaddedBufferedBlockCipher fields, constructors, methods, implement or subclass

Example usage for Java org.bouncycastle.crypto.paddings PaddedBufferedBlockCipher fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.bouncycastle.crypto.paddings PaddedBufferedBlockCipher.

The text is from its open source code.

Constructor

PaddedBufferedBlockCipher(BlockCipher cipher)
Create a buffered block cipher PKCS7 padding
PaddedBufferedBlockCipher(BlockCipher cipher, BlockCipherPadding padding)
Create a buffered block cipher with the desired padding.

Method

intdoFinal(byte[] out, int outOff)
Process the last block in the buffer.
intgetBlockSize()
return the blocksize for the underlying cipher.
intgetOutputSize(int len)
return the minimum size of the output buffer required for an update plus a doFinal with an input of len bytes.
BlockCiphergetUnderlyingCipher()
return the cipher this object wraps.
voidinit(boolean forEncryption, CipherParameters params)
initialise the cipher.
intprocessBytes(byte[] in, int inOff, int len, byte[] out, int outOff)
process an array of bytes, producing output if necessary.
voidreset()
Reset the buffer and cipher.