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
-
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 classjava.lang.Object
-
toElement
public org.w3c.dom.Element toElement(org.w3c.dom.Document doc)Create aElement
representing this CryptConfig (to be used in *.chp metadata files).
-