| Modifier and Type | Field and Description |
|---|---|
| public static final int | |
| public static final int | ENCRYPT
Get a CipherProvider that either Encrypts or Decrypts. |
| public static final int | MIN_BOOTPASS_LENGTH
Minimum bootPassword length |
| Modifier and Type | Method and Description |
|---|---|
| public String | |
| public CipherProvider | Returns: a cipher provideris either ENCRYPT or DECRYPT. The CipherProvider can only
do encryption or decryption but not both. mode)Returns a CipherProvider which is the encryption or decryption engine. |
| public SecureRandom | |
| public void | |
| public void | verifyKey(boolean
true means database is being created, whereas false
implies that the database has already been created create, StorageFactory storageFactory is used to access any stored data
that might be needed for verification process of the encryption key storageFactory, Properties properties at time of database connection as well as those in service.properties properties)Verify the external encryption key. |
| DECRYPT | back to summary |
|---|---|
| public static final int DECRYPT | |
| ENCRYPT | back to summary |
|---|---|
| public static final int ENCRYPT Get a CipherProvider that either Encrypts or Decrypts. | |
| MIN_BOOTPASS_LENGTH | back to summary |
|---|---|
| public static final int MIN_BOOTPASS_LENGTH Minimum bootPassword length | |
| changeBootPassword | back to summary |
|---|---|
| public String changeBootPassword(String changeString, Properties properties, CipherProvider verify) throws StandardException | |
| createNewCipher | back to summary |
|---|---|
| public CipherProvider createNewCipher(int mode) throws StandardException Returns a CipherProvider which is the encryption or decryption engine.
| |
| getSecureRandom | back to summary |
|---|---|
| public SecureRandom getSecureRandom() | |
| saveProperties | back to summary |
|---|---|
| public void saveProperties(Properties properties) | |
| verifyKey | back to summary |
|---|---|
| public void verifyKey(boolean create, StorageFactory storageFactory, Properties properties) throws StandardException Verify the external encryption key. Throws exception if unable to verify that the encryption key is the same as that used during database creation or if there are any problems when trying to do the verification process.
| |