Method Summary |
|
public byte[] | doFinal() process the contents of the buffer using the underlying
cipher. |
public int | getBufferPosition() return the amount of data sitting in the buffer. |
public int | getInputBlockSize() returns the largest size an input block can be. |
public int | getOutputBlockSize() returns the maximum size of the block produced by this cipher. |
public AsymmetricBlockCipher | getUnderlyingCipher() return the underlying cipher for the buffer. |
public void | init(boolean forEncryption, CipherParameters params) initialise the buffer and the underlying cipher. |
public void | processByte(byte in) add another byte for processing. |
public void | processBytes(byte[] in, int inOff, int len) add len bytes to the buffer for processing. |
public void | reset() Reset the buffer and the underlying cipher. |