| Modifier and Type | Class and Description |
|---|---|
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| private int |
| Access | Constructor and Description |
|---|---|
| protected | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | confirmPassword(String password)
Implements abstract org.
|
| public void | confirmPassword(String password, byte[] keySpec, byte[] keySalt, byte[] verifier, byte[] verifierSalt, byte[] integritySalt)
Implements abstract org.
|
| public BinaryRC4Encryptor | |
| protected void | |
| public OutputStream | getDataStream(DirectoryNode
the node to write to dir)Implements abstract org. Return an output stream for encrypted data. |
| public BinaryRC4Encryptor. | getDataStream(OutputStream stream, int initialOffset)
Overrides org.
|
| protected int | |
| public void | setChunkSize(int
the chunk size, i.e. the block size with the same encryption key chunkSize)Overrides org. Sets the chunk size of the data stream. |
| chunkSize | back to summary |
|---|---|
| private int chunkSize | |
| BinaryRC4Encryptor | back to summary |
|---|---|
| protected BinaryRC4Encryptor() | |
| BinaryRC4Encryptor | back to summary |
|---|---|
| protected BinaryRC4Encryptor(BinaryRC4Encryptor other) | |
| confirmPassword | back to summary |
|---|---|
| public void confirmPassword(String password) Implements abstract org.
| |
| confirmPassword | back to summary |
|---|---|
| public void confirmPassword(String password, byte[] keySpec, byte[] keySalt, byte[] verifier, byte[] verifierSalt, byte[] integritySalt) Implements abstract org.
| |
| copy | back to summary |
|---|---|
| public BinaryRC4Encryptor copy() Implements abstract org.
| |
| createEncryptionInfoEntry | back to summary |
|---|---|
| protected void createEncryptionInfoEntry(DirectoryNode dir) throws IOException | |
| getDataStream | back to summary |
|---|---|
| public OutputStream getDataStream(DirectoryNode dir) throws IOException, GeneralSecurityException Implements abstract org. Doc from org. Return an output stream for encrypted data.
| |
| getDataStream | back to summary |
|---|---|
| public BinaryRC4Encryptor. Overrides org.
| |
| getKeySizeInBytes | back to summary |
|---|---|
| protected int getKeySizeInBytes() | |
| setChunkSize | back to summary |
|---|---|
| public void setChunkSize(int chunkSize) Overrides org. Doc from org. Sets the chunk size of the data stream. Needs to be set before the data stream is requested. When not set, the implementation uses method specific default values
| |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | calculateChecksum(File file, int i)
Implements abstract org.
|
| protected void | createEncryptionInfoEntry(DirectoryNode dir, File tmpFile)
Implements abstract org.
|
| public void | flush()
Overrides java. Implements java. Flushes this output stream and forces any buffered output bytes to be written out to the stream. |
| protected Cipher | initCipherForBlock(Cipher cipher, int block, boolean lastChunk)
Implements abstract org.
|
| BinaryRC4CipherOutputStream | back to summary |
|---|---|
| public BinaryRC4CipherOutputStream(OutputStream stream) throws IOException, GeneralSecurityException | |
| BinaryRC4CipherOutputStream | back to summary |
|---|---|
| public BinaryRC4CipherOutputStream(DirectoryNode dir) throws IOException, GeneralSecurityException | |
| calculateChecksum | back to summary |
|---|---|
| protected void calculateChecksum(File file, int i) Implements abstract org.
| |
| createEncryptionInfoEntry | back to summary |
|---|---|
| protected void createEncryptionInfoEntry(DirectoryNode dir, File tmpFile) throws IOException, GeneralSecurityException Implements abstract org.
| |
| flush | back to summary |
|---|---|
| public void flush() throws IOException Overrides java. Implements java. Doc from java. Flushes this output stream and forces any buffered output bytes to be written out to the stream.
| |
| initCipherForBlock | back to summary |
|---|---|
| protected Cipher initCipherForBlock(Cipher cipher, int block, boolean lastChunk) throws GeneralSecurityException Implements abstract org.
| |