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
boolean
isHashed()
void
setClearBytes
(byte[] bytes) void
setClearValue
(T data) void
setEncryptedData
(EncryptedDataType encryptedDataType) void
setExternalData
(ExternalDataType externalDataType) 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
-
getExternalData
ExternalDataType getExternalData() -
setExternalData
-
isEncrypted
boolean isEncrypted() -
isExternal
boolean isExternal() -
getHashedDataType
HashedDataType getHashedDataType() -
setHashedData
-
isHashed
boolean isHashed() -
canSupportType
-