Interface EncryptionManager
- All Known Implementing Classes:
DefaultEncryptionManager
public interface EncryptionManager
Manager for in-database passwords encryption.
-
Method Summary
Modifier and TypeMethodDescriptionvoidChanges currently used encryption key to new one if applicable for current encryptor.voidchangeEncryptor(String encryptorKey) Changes currently used encryptor to the new one represented by encryptorKey.voidDisables encryption, and decrypts all passwords.Returns names of available encryptors.Returns name of default encryptor.
-
Method Details
-
changeEncryptor
Changes currently used encryptor to the new one represented by encryptorKey. Encrypts all passwords with the new encryptor. -
changeEncryptionKey
void changeEncryptionKey()Changes currently used encryption key to new one if applicable for current encryptor. -
getAvailableEncryptorNames
Collection<String> getAvailableEncryptorNames()Returns names of available encryptors. -
getDefaultEncryptorName
Returns name of default encryptor. -
disableEncryption
void disableEncryption()Disables encryption, and decrypts all passwords.
-