All Known Implementing Classes:
PrometheusPreferenceSecurity

public interface PrometheusPreferenceEncryptor
Preference Encryptor.
  • Method Summary

    Modifier and Type
    Method
    Description
    char[]
    decryptValue(byte[] pValue)
    Decrypt the value.
    byte[]
    encryptValue(char[] pValue)
    Encrypt the value.
  • Method Details

    • encryptValue

      byte[] encryptValue(char[] pValue) throws OceanusException
      Encrypt the value.
      Parameters:
      pValue - the value to encrypt
      Returns:
      the encrypted value
      Throws:
      OceanusException - on error
    • decryptValue

      char[] decryptValue(byte[] pValue) throws OceanusException
      Decrypt the value.
      Parameters:
      pValue - the value to decrypt
      Returns:
      the decrypted value
      Throws:
      OceanusException - on error