protected class BinaryRC4Encryptor.BinaryRC4CipherOutputStream extends ChunkedCipherOutputStream
out| Constructor and Description |
|---|
BinaryRC4CipherOutputStream(DirectoryNode dir) |
BinaryRC4CipherOutputStream(OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateChecksum(File file,
int i) |
protected void |
createEncryptionInfoEntry(DirectoryNode dir,
File tmpFile) |
void |
flush() |
protected Cipher |
initCipherForBlock(Cipher cipher,
int block,
boolean lastChunk) |
close, getChunk, getChunkMask, getPlainByteFlags, getPos, getTotalPos, initCipherForBlock, initCipherForBlockNoFlush, invokeCipher, setNextRecordSize, write, write, write, write, writeChunk, writePlainpublic BinaryRC4CipherOutputStream(OutputStream stream) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionpublic BinaryRC4CipherOutputStream(DirectoryNode dir) throws IOException, GeneralSecurityException
IOExceptionGeneralSecurityExceptionprotected Cipher initCipherForBlock(Cipher cipher, int block, boolean lastChunk) throws GeneralSecurityException
initCipherForBlock in class ChunkedCipherOutputStreamGeneralSecurityExceptionprotected void calculateChecksum(File file, int i)
calculateChecksum in class ChunkedCipherOutputStreamprotected void createEncryptionInfoEntry(DirectoryNode dir, File tmpFile) throws IOException, GeneralSecurityException
createEncryptionInfoEntry in class ChunkedCipherOutputStreamIOExceptionGeneralSecurityExceptionpublic void flush()
throws IOException
flush in interface Flushableflush in class FilterOutputStreamIOException