protected class BinaryRC4Encryptor.BinaryRC4CipherOutputStream extends ChunkedCipherOutputStream
chunkBits, chunkMask, chunkSize
out
Constructor and Description |
---|
BinaryRC4CipherOutputStream(DirectoryNode dir) |
Modifier and Type | Method and Description |
---|---|
protected void |
calculateChecksum(File file,
int i) |
protected void |
createEncryptionInfoEntry(DirectoryNode dir,
File tmpFile) |
protected Cipher |
initCipherForBlock(Cipher cipher,
int block,
boolean lastChunk) |
close, write, write, write, writeChunk
flush
public BinaryRC4CipherOutputStream(DirectoryNode dir) throws IOException, GeneralSecurityException
IOException
GeneralSecurityException
protected Cipher initCipherForBlock(Cipher cipher, int block, boolean lastChunk) throws GeneralSecurityException
initCipherForBlock
in class ChunkedCipherOutputStream
GeneralSecurityException
protected void calculateChecksum(File file, int i)
calculateChecksum
in class ChunkedCipherOutputStream
protected void createEncryptionInfoEntry(DirectoryNode dir, File tmpFile) throws IOException, GeneralSecurityException
createEncryptionInfoEntry
in class ChunkedCipherOutputStream
IOException
GeneralSecurityException
Copyright © 2007-2019. All Rights Reserved.