public class DBStringEncryptor extends AbstractEncryptor implements IDBStringEncryptor
| Modifier and Type | Field and Description |
|---|---|
protected org.jasypt.encryption.pbe.PooledPBEStringEncryptor |
encryptor |
protected boolean |
isActive |
protected org.jasypt.encryption.pbe.PooledPBEStringEncryptor |
oldEncryptor |
migrate, provider| Constructor and Description |
|---|
DBStringEncryptor(Provider provider,
EDBEncryptionAlgorithm algorithm,
String password,
boolean isActive) |
| Modifier and Type | Method and Description |
|---|---|
String |
decrypt(String value) |
String |
encrypt(String value) |
void |
migrate(EDBEncryptionAlgorithm algorithm,
String password,
boolean active) |
isMigrateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMigrateprotected org.jasypt.encryption.pbe.PooledPBEStringEncryptor encryptor
protected org.jasypt.encryption.pbe.PooledPBEStringEncryptor oldEncryptor
protected final boolean isActive
public DBStringEncryptor(Provider provider, EDBEncryptionAlgorithm algorithm, String password, boolean isActive)
public String encrypt(String value) throws org.jasypt.exceptions.EncryptionOperationNotPossibleException, org.jasypt.exceptions.EncryptionInitializationException
encrypt in interface IDBStringEncryptororg.jasypt.exceptions.EncryptionOperationNotPossibleExceptionorg.jasypt.exceptions.EncryptionInitializationExceptionpublic String decrypt(String value) throws org.jasypt.exceptions.EncryptionOperationNotPossibleException, org.jasypt.exceptions.EncryptionInitializationException
decrypt in interface IDBStringEncryptororg.jasypt.exceptions.EncryptionOperationNotPossibleExceptionorg.jasypt.exceptions.EncryptionInitializationExceptionpublic void migrate(EDBEncryptionAlgorithm algorithm, String password, boolean active)
migrate in interface IDBStringEncryptorCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.