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) |
isMigrate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isMigrate
protected 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 IDBStringEncryptor
org.jasypt.exceptions.EncryptionOperationNotPossibleException
org.jasypt.exceptions.EncryptionInitializationException
public String decrypt(String value) throws org.jasypt.exceptions.EncryptionOperationNotPossibleException, org.jasypt.exceptions.EncryptionInitializationException
decrypt
in interface IDBStringEncryptor
org.jasypt.exceptions.EncryptionOperationNotPossibleException
org.jasypt.exceptions.EncryptionInitializationException
public void migrate(EDBEncryptionAlgorithm algorithm, String password, boolean active)
migrate
in interface IDBStringEncryptor
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.