params.getEncryptedInputStream(), cipher); if (params.getBlockStreamSize() > 0) blockedDecryptingInputStream = new BlockedInputStream(blockedDecryptingInputStream, cipher.getBlockSize(), params.getBlockStreamSize());
params.getPlaintextOutputStream(), cipher); BlockedOutputStream blockedOutputStream = new BlockedOutputStream(cipherOutputStream, cipher.getBlockSize(), params.getBlockStreamSize()); dataOut.writeInt(params.getEncryptedKey().length); dataOut.write(params.getEncryptedKey()); dataOut.writeInt(params.getBlockStreamSize());