Package de.xima.fc.encryption.db
Class DBEncryptionProcessor
- java.lang.Object
-
- de.xima.fc.encryption.db.DBEncryptionProcessor
-
- All Implemented Interfaces:
IDBEncryptionProcessor
public class DBEncryptionProcessor extends Object implements IDBEncryptionProcessor
-
-
Constructor Summary
Constructors Constructor Description DBEncryptionProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IDBBinaryEncryptor
buildBinaryEncryptor(String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm, boolean active)
IDBStringEncryptor
buildStringEncryptor(String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm, boolean active)
EEncryptionTestResult
checkEncryption(DataSource datasource, String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm)
IDBBinaryEncryptor
getBinaryEncryptor()
IDBBinaryEncryptor
getFormDataBinaryEncryptor()
IDBStringEncryptor
getFormDataStringEncryptor()
IDBStringEncryptor
getStringEncryptor()
void
init()
boolean
isConfigurationValid()
void
migrate(EDBEncryptionAlgorithm newAlgorithm, String newPassword)
-
-
-
Method Detail
-
buildBinaryEncryptor
public IDBBinaryEncryptor buildBinaryEncryptor(String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm, boolean active)
- Specified by:
buildBinaryEncryptor
in interfaceIDBEncryptionProcessor
-
buildStringEncryptor
public IDBStringEncryptor buildStringEncryptor(String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm, boolean active)
- Specified by:
buildStringEncryptor
in interfaceIDBEncryptionProcessor
-
checkEncryption
public EEncryptionTestResult checkEncryption(DataSource datasource, String encryptionPassword, EDBEncryptionAlgorithm encryptionAlgorithm)
- Specified by:
checkEncryption
in interfaceIDBEncryptionProcessor
-
getBinaryEncryptor
public IDBBinaryEncryptor getBinaryEncryptor()
- Specified by:
getBinaryEncryptor
in interfaceIDBEncryptionProcessor
-
getFormDataBinaryEncryptor
public IDBBinaryEncryptor getFormDataBinaryEncryptor()
- Specified by:
getFormDataBinaryEncryptor
in interfaceIDBEncryptionProcessor
-
getFormDataStringEncryptor
public IDBStringEncryptor getFormDataStringEncryptor()
- Specified by:
getFormDataStringEncryptor
in interfaceIDBEncryptionProcessor
-
getStringEncryptor
public IDBStringEncryptor getStringEncryptor()
- Specified by:
getStringEncryptor
in interfaceIDBEncryptionProcessor
-
init
public void init()
- Specified by:
init
in interfaceIDBEncryptionProcessor
-
isConfigurationValid
public boolean isConfigurationValid()
- Specified by:
isConfigurationValid
in interfaceIDBEncryptionProcessor
-
migrate
public void migrate(EDBEncryptionAlgorithm newAlgorithm, String newPassword)
- Specified by:
migrate
in interfaceIDBEncryptionProcessor
-
-