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)  | 
isMigrateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisMigrateprotected 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 IDBBinaryEncryptororg.jasypt.exceptions.EncryptionOperationNotPossibleExceptionorg.jasypt.exceptions.EncryptionInitializationExceptionpublic byte[] decrypt(byte[] value)
               throws org.jasypt.exceptions.EncryptionOperationNotPossibleException,
                      org.jasypt.exceptions.EncryptionInitializationException
decrypt in interface IDBBinaryEncryptororg.jasypt.exceptions.EncryptionOperationNotPossibleExceptionorg.jasypt.exceptions.EncryptionInitializationExceptionpublic void migrate(EDBEncryptionAlgorithm algorithm, String password, boolean active)
migrate in interface IDBBinaryEncryptorCopyright © 2020 XIMA MEDIA GmbH. All rights reserved.