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
public interface CleanablePasswordBased extends PasswordBased
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
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidsetPasswordCharArray(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
-
-