Interface EncryptionManager
- All Known Implementing Classes:
DefaultEncryptionManager
public interface EncryptionManager
Manager for in-database passwords encryption.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Changes currently used encryption key to new one if applicable for current encryptor.void
changeEncryptor
(String encryptorKey) Changes currently used encryptor to the new one represented by encryptorKey.void
Disables 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.
-