protected class CryptoAPIEncryptor.CryptoAPICipherOutputStream extends ChunkedCipherOutputStream
| Constructor and Description |
|---|
CryptoAPICipherOutputStream(java.io.OutputStream stream) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
calculateChecksum(java.io.File file,
int i) |
protected void |
createEncryptionInfoEntry(DirectoryNode dir,
java.io.File tmpFile) |
void |
flush() |
protected javax.crypto.Cipher |
initCipherForBlock(javax.crypto.Cipher cipher,
int block,
boolean lastChunk) |
close, getChunk, getChunkMask, getPlainByteFlags, getPos, getTotalPos, initCipherForBlock, invokeCipher, setNextRecordSize, write, write, write, write, writeChunk, writePlainpublic CryptoAPICipherOutputStream(java.io.OutputStream stream)
throws java.io.IOException,
java.security.GeneralSecurityException
java.io.IOExceptionjava.security.GeneralSecurityExceptionprotected javax.crypto.Cipher initCipherForBlock(javax.crypto.Cipher cipher,
int block,
boolean lastChunk)
throws java.io.IOException,
java.security.GeneralSecurityException
initCipherForBlock in class ChunkedCipherOutputStreamjava.io.IOExceptionjava.security.GeneralSecurityExceptionprotected void calculateChecksum(java.io.File file,
int i)
calculateChecksum in class ChunkedCipherOutputStreamprotected void createEncryptionInfoEntry(DirectoryNode dir, java.io.File tmpFile) throws java.io.IOException, java.security.GeneralSecurityException
createEncryptionInfoEntry in class ChunkedCipherOutputStreamjava.io.IOExceptionjava.security.GeneralSecurityExceptionpublic void flush()
throws java.io.IOException
flush in interface java.io.Flushableflush in class java.io.FilterOutputStreamjava.io.IOExceptionCopyright 2018 The Apache Software Foundation or its licensors, as applicable.