| Modifier and Type | Field and Description |
|---|---|
| private int | |
| private StorageFile | |
| private StorageFile | |
| private BaseDataFileFactory | |
| private static final int | |
| private static final int | |
| private static final int | |
| private StorageFactory |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | decryptAllContainers(RawTransaction
the transaction that is used for the decryption operation t)Finds all the all the containers stored in the data directory and decrypts them. |
| public void | encryptAllContainers(RawTransaction
the transaction that is used for the encryption operation t)Find all the all the containers stored in the data directory and encrypt them. |
| private void | encryptOrDecryptAllContainers(RawTransaction
transaction used for the cryptographic operation t, boolean tells whether to encrypt or decrypt doEncrypt)Encrypts or decrypts all containers in the database data directory. |
| private void | encryptOrDecryptContainer(RawTransaction
transaction that used to perform the cryptographic operation t, ContainerKey the key of the container that is being encrypted/decrypted ckey, boolean tells whether to encrypt or decrypt doEncrypt)Encrypts or decrypts the specified container. |
| private StorageFile | getFile(ContainerKey containerId, boolean old)
Get file handle to a container file that is used to keep temporary versions of the container file. |
| private StorageFile | |
| private String | getFilePath(ContainerKey containerId, boolean old)
Get path to a container file that is used to keep temporary versions of the container file. |
| private boolean | |
| private synchronized boolean | |
| private synchronized boolean | |
| private synchronized boolean | |
| public void | removeOldVersionOfContainers()
Removes old versions of the containers after a cryptographic operation on the database. |
| pack-priv void | |
| public Boolean |
| actionCode | back to summary |
|---|---|
| private int actionCode | |
| actionDestStorageFile | back to summary |
|---|---|
| private StorageFile actionDestStorageFile | |
| actionStorageFile | back to summary |
|---|---|
| private StorageFile actionStorageFile | |
| dataFactory | back to summary |
|---|---|
| private BaseDataFileFactory dataFactory | |
| STORAGE_FILE_DELETE_ACTION | back to summary |
|---|---|
| private static final int STORAGE_FILE_DELETE_ACTION | |
| STORAGE_FILE_EXISTS_ACTION | back to summary |
|---|---|
| private static final int STORAGE_FILE_EXISTS_ACTION | |
| STORAGE_FILE_RENAME_ACTION | back to summary |
|---|---|
| private static final int STORAGE_FILE_RENAME_ACTION | |
| storageFactory | back to summary |
|---|---|
| private StorageFactory storageFactory | |
| EncryptOrDecryptData | back to summary |
|---|---|
| public EncryptOrDecryptData(BaseDataFileFactory dataFactory) | |
| decryptAllContainers | back to summary |
|---|---|
| public void decryptAllContainers(RawTransaction t) throws StandardException Finds all the all the containers stored in the data directory and decrypts them.
| |
| encryptAllContainers | back to summary |
|---|---|
| public void encryptAllContainers(RawTransaction t) throws StandardException Find all the all the containers stored in the data directory and encrypt them.
| |
| encryptOrDecryptAllContainers | back to summary |
|---|---|
| private void encryptOrDecryptAllContainers(RawTransaction t, boolean doEncrypt) throws StandardException Encrypts or decrypts all containers in the database data directory.
| |
| encryptOrDecryptContainer | back to summary |
|---|---|
| private void encryptOrDecryptContainer(RawTransaction t, ContainerKey ckey, boolean doEncrypt) throws StandardException Encrypts or decrypts the specified container.
| |
| getFile | back to summary |
|---|---|
| private StorageFile getFile(ContainerKey containerId, boolean old) Get file handle to a container file that is used to keep temporary versions of the container file. | |
| getFile | back to summary |
|---|---|
| private StorageFile getFile(String ctrFileName) | |
| getFilePath | back to summary |
|---|---|
| private String getFilePath(ContainerKey containerId, boolean old) Get path to a container file that is used to keep temporary versions of the container file. | |
| isOldContainerFile | back to summary |
|---|---|
| private boolean isOldContainerFile(String fileName) | |
| privDelete | back to summary |
|---|---|
| private synchronized boolean privDelete(StorageFile file) | |
| privExists | back to summary |
|---|---|
| private synchronized boolean privExists(StorageFile file) | |
| privRename | back to summary |
|---|---|
| private synchronized boolean privRename(StorageFile fromFile, StorageFile destFile) | |
| removeOldVersionOfContainers | back to summary |
|---|---|
| public void removeOldVersionOfContainers() throws StandardException Removes old versions of the containers after a cryptographic operation on the database. | |
| restoreContainer | back to summary |
|---|---|
| pack-priv void restoreContainer(ContainerKey containerId) throws StandardException | |
| run | back to summary |
|---|---|
| public Boolean run() | |