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