public abstract class AbstractPBEHibernatePoolEncryptor extends Object implements IPBEHibernatePoolEncryptor
| Modifier and Type | Field and Description |
|---|---|
protected PBEConfig |
config |
protected boolean |
initialized |
protected IPBEStringEncryptor[] |
pool |
protected int |
poolSize |
protected String |
registeredName |
protected int |
roundRobin |
| Constructor and Description |
|---|
AbstractPBEHibernatePoolEncryptor() |
| Modifier and Type | Method and Description |
|---|---|
IPBEEncryptor |
getEncryptor() |
String |
getRegisteredName() |
protected abstract void |
initialize() |
boolean |
isInitialized() |
void |
setAlgorithm(String algorithm) |
void |
setEnable(boolean enable) |
void |
setMessageCharset(String messageCharset) |
void |
setPassword(String password) |
void |
setPasswordCharArray(char[] passwordCharArray) |
void |
setPasswordPathfile(String pathfile) |
void |
setPoolSize(int poolSize) |
void |
setRegisteredName(String registeredName) |
protected String registeredName
protected PBEConfig config
protected int poolSize
protected IPBEStringEncryptor[] pool
protected int roundRobin
protected boolean initialized
public String getRegisteredName()
getRegisteredName in interface IPBEHibernatePoolEncryptorpublic void setRegisteredName(String registeredName)
setRegisteredName in interface IPBEHibernatePoolEncryptorpublic void setAlgorithm(String algorithm) throws PBEException
setAlgorithm in interface IPBEHibernatePoolEncryptorPBEExceptionpublic void setMessageCharset(String messageCharset) throws PBEException
setMessageCharset in interface IPBEHibernatePoolEncryptorPBEExceptionpublic void setPasswordCharArray(char[] passwordCharArray)
throws PBEException
setPasswordCharArray in interface IPBEHibernatePoolEncryptorPBEExceptionpublic void setPassword(String password) throws PBEException
setPassword in interface IPBEHibernatePoolEncryptorPBEExceptionpublic void setPasswordPathfile(String pathfile) throws PBEException
setPasswordPathfile in interface IPBEHibernatePoolEncryptorPBEExceptionpublic void setPoolSize(int poolSize)
throws PBEException
setPoolSize in interface IPBEHibernatePoolEncryptorPBEExceptionpublic void setEnable(boolean enable)
throws PBEException
setEnable in interface IPBEHibernatePoolEncryptorPBEExceptionpublic boolean isInitialized()
isInitialized in interface IPBEHibernatePoolEncryptorprotected abstract void initialize()
throws PBEException
PBEExceptionpublic IPBEEncryptor getEncryptor() throws PBEException
getEncryptor in interface IPBEHibernatePoolEncryptorPBEExceptionCopyright © 2018. All rights reserved.