Package de.xima.fc.security.encryption
Class FCEncryptedBinaryType
java.lang.Object
de.xima.fc.security.encryption.FCEncryptedBinaryType
- All Implemented Interfaces:
org.hibernate.usertype.UserType
- Direct Known Subclasses:
FormDataEncryptedBinaryType
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionassemble
(Serializable cached, Object owner) byte[]
convertToByteArr
(Object object) disassemble
(Object value) boolean
protected IDBBinaryEncryptor
int
boolean
nullSafeGet
(ResultSet rs, String[] names, org.hibernate.engine.spi.SharedSessionContractImplementor session, Object owner) void
nullSafeSet
(PreparedStatement st, Object value, int index, org.hibernate.engine.spi.SharedSessionContractImplementor session) int[]
sqlTypes()
-
Field Details
-
LOG
public static final org.slf4j.Logger LOG -
NAME
- See Also:
-
-
Constructor Details
-
FCEncryptedBinaryType
public FCEncryptedBinaryType()
-
-
Method Details
-
returnedClass
- Specified by:
returnedClass
in interfaceorg.hibernate.usertype.UserType
-
sqlTypes
public int[] sqlTypes()- Specified by:
sqlTypes
in interfaceorg.hibernate.usertype.UserType
-
equals
- Specified by:
equals
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
deepCopy
- Specified by:
deepCopy
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
assemble
- Specified by:
assemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
disassemble
- Specified by:
disassemble
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
isMutable
public boolean isMutable()- Specified by:
isMutable
in interfaceorg.hibernate.usertype.UserType
-
hashCode
- Specified by:
hashCode
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
replace
public Object replace(Object original, Object target, Object owner) throws org.hibernate.HibernateException - Specified by:
replace
in interfaceorg.hibernate.usertype.UserType
- Throws:
org.hibernate.HibernateException
-
convertToByteArr
-
getEncryptor
-