| Modifier and Type | Class and Description |
|---|---|
| protected class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Logger |
| 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. Fills the fields of verifier and header with the calculated hashes based on the password and a random salt see [MS-OFFCRYPTO] - 2.3.4.7 ECMA-376 Document Encryption Key Generation |
| public StandardEncryptor | |
| protected void | |
| private Cipher | |
| public OutputStream | getDataStream(final DirectoryNode
the node to write to dir)Implements abstract org. Return an output stream for encrypted data. |
| protected int |
| LOG | back to summary |
|---|---|
| private static final Logger LOG | |
| StandardEncryptor | back to summary |
|---|---|
| protected StandardEncryptor() | |
| StandardEncryptor | back to summary |
|---|---|
| protected StandardEncryptor(StandardEncryptor 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. Fills the fields of verifier and header with the calculated hashes based on the password and a random salt see [MS-OFFCRYPTO] - 2.3.4.7 ECMA-376 Document Encryption Key Generation
| |
| copy | back to summary |
|---|---|
| public StandardEncryptor copy() Implements abstract org.
| |
| createEncryptionInfoEntry | back to summary |
|---|---|
| protected void createEncryptionInfoEntry(DirectoryNode dir) throws IOException | |
| getCipher | back to summary |
|---|---|
| private Cipher getCipher(SecretKey key, String padding) | |
| getDataStream | back to summary |
|---|---|
| public OutputStream getDataStream(final DirectoryNode dir) throws IOException, GeneralSecurityException Implements abstract org. Doc from org. Return an output stream for encrypted data.
| |
| getKeySizeInBytes | back to summary |
|---|---|
| protected int getKeySizeInBytes() | |
| Modifier and Type | Field and Description |
|---|---|
| protected long | |
| protected final boolean | |
| protected final DirectoryNode | |
| protected final File |
| Access | Constructor and Description |
|---|---|
| private | |
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public void | close()
Overrides java. Implements java. Closes this output stream and releases any system resources associated with the stream. |
| public void | processPOIFSWriterEvent(POIFSWriterEvent
the POIFSWriterEvent event)Implements org. Process a POIFSWriterEvent that this listener had registered for |
| public void | write(byte[]
the data. b, int the start offset in the data. off, int the number of bytes to write. len)Overrides java. Writes |
| public void | write(int
the b)byte.Overrides java. Writes the specified |
| pack-priv void |
| countBytes | back to summary |
|---|---|
| protected long countBytes | |
| deleteFile | back to summary |
|---|---|
| protected final boolean deleteFile | |
| dir | back to summary |
|---|---|
| protected final DirectoryNode dir | |
| fileOut | back to summary |
|---|---|
| protected final File fileOut | |
| StandardCipherOutputStream | back to summary |
|---|---|
private StandardCipherOutputStream(DirectoryNode dir, File fileOut, boolean deleteFile) throws IOException
| |
| StandardCipherOutputStream | back to summary |
|---|---|
| protected StandardCipherOutputStream(DirectoryNode dir) throws IOException | |
| close | back to summary |
|---|---|
| public void close() throws IOException Overrides java. Implements java. Doc from java. Closes this output stream and releases any system resources associated with the stream.
| |
| processPOIFSWriterEvent | back to summary |
|---|---|
| public void processPOIFSWriterEvent(POIFSWriterEvent event) Implements org. Doc from org. Process a POIFSWriterEvent that this listener had registered for
| |
| write | back to summary |
|---|---|
| public void write(byte[] b, int off, int len) throws IOException Overrides java. Doc from java. Writes
| |
| write | back to summary |
|---|---|
| public void write(int b) throws IOException Overrides java. Doc from java. Writes the specified
The
Implements the abstract
| |
| writeToPOIFS | back to summary |
|---|---|
| pack-priv void writeToPOIFS() throws IOException | |