Class CryptConfig

java.lang.Object
eu.steffo.cleaver.logic.crypt.CryptConfig

public class CryptConfig
extends java.lang.Object
A class containing the configuration for the encryption/decryption step of a Job.
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected java.lang.String key  
  • Constructor Summary

    Constructors 
    Constructor Description
    CryptConfig​(java.lang.String key)
    Construct a new CryptConfig with a specific encryption key.
  • Method Summary

    Modifier and Type Method Description
    java.lang.String getKey()  
    org.w3c.dom.Element toElement​(org.w3c.dom.Document doc)
    Create a Element representing this CryptConfig (to be used in *.chp metadata files).
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

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

    • key

      protected final java.lang.String key
  • Constructor Details

    • CryptConfig

      public CryptConfig​(java.lang.String key)
      Construct a new CryptConfig with a specific encryption key.
      Parameters:
      key - The encryption key.
  • Method Details

    • getKey

      public java.lang.String getKey()
      Returns:
      The encryption key.
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object
    • toElement

      public org.w3c.dom.Element toElement​(org.w3c.dom.Document doc)
      Create a Element representing this CryptConfig (to be used in *.chp metadata files).
      Parameters:
      doc - The Document the Element should be created in.
      Returns:
      The created Element.
      See Also:
      ChopJob, StitchJob