public class DBBinaryEncryptor extends AbstractEncryptor implements IDBBinaryEncryptor
| Modifier and Type | Field and Description |
|---|---|
protected org.jasypt.encryption.pbe.StandardPBEByteEncryptor |
encryptor |
protected org.jasypt.encryption.pbe.StandardPBEByteEncryptor |
oldEncryptor |
isActive, 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) |
protected org.jasypt.encryption.pbe.StandardPBEByteEncryptor encryptor
protected org.jasypt.encryption.pbe.StandardPBEByteEncryptor oldEncryptor
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 © 2016. All rights reserved.