Package org.jasypt.encryption.pbe
Interface CleanablePasswordBased
- All Superinterfaces:
PasswordBased
- All Known Subinterfaces:
PBEBigDecimalCleanablePasswordEncryptor
,PBEBigIntegerCleanablePasswordEncryptor
,PBEByteCleanablePasswordEncryptor
,PBEStringCleanablePasswordEncryptor
- All Known Implementing Classes:
PooledPBEBigDecimalEncryptor
,PooledPBEBigIntegerEncryptor
,PooledPBEByteEncryptor
,PooledPBEStringEncryptor
,StandardPBEBigDecimalEncryptor
,StandardPBEBigIntegerEncryptor
,StandardPBEByteEncryptor
,StandardPBEStringEncryptor
Common interface for all entities which can be set a password in char[] shape, which can be cleaned once the encryptor is initialized so that no immutable Strings containing the password are left in memory.
- Since:
- 1.8
- Author:
- Daniel Fernández
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setPasswordCharArray
(char[] password) Sets a password to be used by the encryptor, as a (cleanable) char[].Methods inherited from interface org.jasypt.encryption.pbe.PasswordBased
setPassword
-
Method Details
-
setPasswordCharArray
void setPasswordCharArray(char[] password) Sets a password to be used by the encryptor, as a (cleanable) char[].
- Parameters:
password
- the password to be used.- Since:
- 1.8
-