public class DBBinaryEncryptor extends AbstractEncryptor implements IDBBinaryEncryptor
Modifier and Type | Field and Description |
---|---|
protected org.jasypt.encryption.pbe.PooledPBEByteEncryptor |
encryptor |
protected boolean |
isActive |
protected org.jasypt.encryption.pbe.PooledPBEByteEncryptor |
oldEncryptor |
migrate, provider
Constructor and Description |
---|
DBBinaryEncryptor(Provider provider,
EDBEncryptionAlgorithm algorithm,
String password,
boolean isActive) |
Modifier and Type | Method and Description |
---|---|
byte[] |
decrypt(byte[] value) |
byte[] |
encrypt(byte[] 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.PooledPBEByteEncryptor encryptor
protected org.jasypt.encryption.pbe.PooledPBEByteEncryptor oldEncryptor
protected final boolean isActive
public DBBinaryEncryptor(Provider provider, EDBEncryptionAlgorithm algorithm, String password, boolean isActive)
public byte[] encrypt(byte[] value) throws org.jasypt.exceptions.EncryptionOperationNotPossibleException, org.jasypt.exceptions.EncryptionInitializationException
encrypt
in interface IDBBinaryEncryptor
org.jasypt.exceptions.EncryptionOperationNotPossibleException
org.jasypt.exceptions.EncryptionInitializationException
public byte[] decrypt(byte[] value) throws org.jasypt.exceptions.EncryptionOperationNotPossibleException, org.jasypt.exceptions.EncryptionInitializationException
decrypt
in interface IDBBinaryEncryptor
org.jasypt.exceptions.EncryptionOperationNotPossibleException
org.jasypt.exceptions.EncryptionInitializationException
public void migrate(EDBEncryptionAlgorithm algorithm, String password, boolean active)
migrate
in interface IDBBinaryEncryptor
Copyright © 2020 XIMA MEDIA GmbH. All rights reserved.