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
Author:
Daniel Fernández

Method Summary
 void 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 Detail

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


Copyright © 2011 The JASYPT team. All Rights Reserved.