public class EncryptedDateType extends AbstractHibernateType
DEFAULT_CHARSET, random| Constructor and Description |
|---|
EncryptedDateType() |
| Modifier and Type | Method and Description |
|---|---|
protected Object |
decrypt(String value)
Decrypts the given string using an appropriate method for the object type.
|
protected String |
encrypt(Object value)
Encrypts the given object using an appropriate method for the object type.
|
Class<?> |
returnedClass() |
assemble, configure, deepCopy, disassemble, equals, getCharset, getEncryptor, hashCode, initializeIfNot, isMutable, nullSafeGet, nullSafeSet, replace, setCharset, setParameterValues, sqlTypespublic Class<?> returnedClass()
protected Object decrypt(String value) throws GeneralSecurityException
decrypt in class AbstractHibernateTypevalue - the string to be decryptedGeneralSecurityException - GeneralSecurityExceptionprotected String encrypt(Object value) throws GeneralSecurityException
encrypt in class AbstractHibernateTypevalue - the object to be encryptedGeneralSecurityException - GeneralSecurityException