Interface ProtectedData<T>

All Known Implementing Classes:
ProtectedByteArrayType, ProtectedDataType, ProtectedStringType

public interface ProtectedData<T>
Author:
Radovan Semancik
  • Method Details

    • getClearBytes

      byte[] getClearBytes()
    • setClearBytes

      void setClearBytes(byte[] bytes)
    • getClearValue

      T getClearValue()
    • hasClearValue

      default boolean hasClearValue()
    • setClearValue

      void setClearValue(T data)
    • destroyCleartext

      void destroyCleartext()
    • canGetCleartext

      boolean canGetCleartext()
    • getEncryptedDataType

      EncryptedDataType getEncryptedDataType()
    • setEncryptedData

      void setEncryptedData(EncryptedDataType encryptedDataType)
    • getExternalData

      ExternalDataType getExternalData()
    • setExternalData

      void setExternalData(ExternalDataType externalDataType)
    • isEncrypted

      boolean isEncrypted()
    • isExternal

      boolean isExternal()
    • getHashedDataType

      HashedDataType getHashedDataType()
    • setHashedData

      void setHashedData(HashedDataType hashedDataType)
    • isHashed

      boolean isHashed()
    • canSupportType

      boolean canSupportType(Class<?> type)