| Modifier and Type | Field and Description |
|---|---|
| private String | |
| private byte[] | |
| private String | |
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private void | |
| public static void | execute(String
the directory (. for the current directory) dir, String the database name (null for all databases) db, String the cipher (AES) cipher, char[] the decryption password as a char array decryptPassword, char[] the encryption password as a char array encryptPassword, boolean don't print progress information quiet)Changes the password for a database. |
| private static FileChannel | |
| public static void | |
| private void | |
| private void | |
| public void | runTool(String...
the argument list args)Implements abstract org. Run the tool with the given output stream and arguments. |
| cipherType | back to summary |
|---|---|
| private String cipherType | |
| decryptKey | back to summary |
|---|---|
| private byte[] decryptKey | |
| directory | back to summary |
|---|---|
| private String directory | |
| encryptKey | back to summary |
|---|---|
| private byte[] encryptKey | |
| ChangeFileEncryption | back to summary |
|---|---|
| public ChangeFileEncryption() | |
| copyMvStore | back to summary |
|---|---|
| private void copyMvStore(String fileName, boolean quiet, char[] decryptPassword) throws IOException, SQLException | |
| execute | back to summary |
|---|---|
| public static void execute(String dir, String db, String cipher, char[] decryptPassword, char[] encryptPassword, boolean quiet) throws SQLException Changes the password for a database. The passwords must be supplied as char arrays and are cleaned in this method. The database must be closed before calling this method.
| |
| getFileChannel | back to summary |
|---|---|
| private static FileChannel getFileChannel(String fileName, String r, byte[] decryptKey) throws IOException | |
| main | back to summary | ||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| public static void main(String... args) Options are case sensitive.
| |||||||||||||||
| process | back to summary |
|---|---|
| private void process(String dir, String db, String cipher, char[] decryptPassword, char[] encryptPassword, boolean quiet) throws SQLException | |
| process | back to summary |
|---|---|
| private void process(String fileName, boolean quiet, char[] decryptPassword) throws SQLException | |
| runTool | back to summary |
|---|---|
| public void runTool(String... args) throws SQLException Implements abstract org. Doc from org. Run the tool with the given output stream and arguments.
| |