Class EncryptedClearValue<ValueType>

java.lang.Object
pygar.zoneable.EncryptedClearValue<ValueType>
Type Parameters:
ValueType -

public abstract class EncryptedClearValue<ValueType>
extends java.lang.Object
This data type is used for values in a negotiation position and includes their unencrypted value, their fieldName in the XML schema, and the type with respect to the encryption system: ftype.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    java.lang.String fieldName  
    ValueType value  
  • Constructor Summary

    Constructors 
    Constructor Description
    EncryptedClearValue​(java.lang.String fieldName, EncryptedFieldTable.EFTYPE ftype, ValueType value)  
  • Method Summary

    Modifier and Type Method Description
    abstract EncryptedClearValue<ValueType> decrypt​(java.lang.String encryptedValue, java.lang.String fieldName, EncryptedFieldTable.EFTYPE ftype)
    Decrypt the encrypted value in the string according to the specification
    abstract java.lang.String encrypt()
    Encypt the value field of the object and return it as a String Note: the function depends on the successful initialization of static member profile in class pygar.configuration.Profile.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • encrypt

      public abstract java.lang.String encrypt()
      Encypt the value field of the object and return it as a String Note: the function depends on the successful initialization of static member profile in class pygar.configuration.Profile.
      Returns:
      encrypted string
    • decrypt

      public abstract EncryptedClearValue<ValueType> decrypt​(java.lang.String encryptedValue, java.lang.String fieldName, EncryptedFieldTable.EFTYPE ftype)
      Decrypt the encrypted value in the string according to the specification
      Parameters:
      encryptedValue -
      fieldName -
      ftype -
      Returns:
      EncryptedClearValue