Interface ProtectedData<T>
-
- All Known Implementing Classes:
ProtectedByteArrayType
,ProtectedDataType
,ProtectedStringType
public interface ProtectedData<T>
- Author:
- Radovan Semancik
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
canGetCleartext()
boolean
canSupportType(Class<?> type)
void
destroyCleartext()
byte[]
getClearBytes()
T
getClearValue()
EncryptedDataType
getEncryptedDataType()
HashedDataType
getHashedDataType()
boolean
isEncrypted()
boolean
isHashed()
void
setClearBytes(byte[] bytes)
void
setClearValue(T data)
void
setEncryptedData(EncryptedDataType encryptedDataType)
void
setHashedData(HashedDataType hashedDataType)
-
-
-
Method Detail
-
getClearBytes
byte[] getClearBytes()
-
setClearBytes
void setClearBytes(byte[] bytes)
-
getClearValue
T getClearValue()
-
setClearValue
void setClearValue(T data)
-
destroyCleartext
void destroyCleartext()
-
canGetCleartext
boolean canGetCleartext()
-
getEncryptedDataType
EncryptedDataType getEncryptedDataType()
-
setEncryptedData
void setEncryptedData(EncryptedDataType encryptedDataType)
-
isEncrypted
boolean isEncrypted()
-
getHashedDataType
HashedDataType getHashedDataType()
-
setHashedData
void setHashedData(HashedDataType hashedDataType)
-
isHashed
boolean isHashed()
-
canSupportType
boolean canSupportType(Class<?> type)
-
-