org.productivity.java.habitat4j.crypto.decryptor.generic
Class GenericCryptoConfig

java.lang.Object
  extended by org.productivity.java.habitat4j.crypto.decryptor.CryptoConfig
      extended by org.productivity.java.habitat4j.crypto.decryptor.generic.GenericCryptoConfig
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
IntegrityGenericCryptoConfig

public class GenericCryptoConfig
extends CryptoConfig

See Also:
Serialized Form

Field Summary
protected  java.lang.String cipherAlgorithm
           
protected static java.lang.String configPropertyListName
           
protected  java.lang.String dataCharSet
           
protected static java.lang.String DEFAULT_DATA_CHAR_SET
           
protected static boolean DEFAULT_DATA_PADDING
           
protected  java.lang.String keyAlgorithm
           
protected  boolean useDataPadding
           
 
Fields inherited from class org.productivity.java.habitat4j.crypto.decryptor.CryptoConfig
DEFAULT_KEY_DELIMITER, keyDelimiter, keyLocation, keyReaderClassName
 
Constructor Summary
GenericCryptoConfig()
           
 
Method Summary
 java.lang.String getCipherAlgorithm()
           
static GenericCryptoConfig getConfig(java.lang.Class clazz)
           
static java.lang.String getConfigPropertyListName()
           
 java.lang.String getDataCharSet()
           
 java.lang.String getKeyAlgorithm()
           
 KeyInfoIF getKeyInfo(java.lang.String in)
           
 boolean isUseDataPadding()
           
 void setCipherAlgorithm(java.lang.String cipherAlgorithm)
           
static void setConfigPropertyListName(java.lang.String configPropertyListName)
           
 void setDataCharSet(java.lang.String dataCharSet)
           
 void setKeyAlgorithm(java.lang.String keyAlgorithm)
           
 void setUseDataPadding(boolean useDataPadding)
           
 
Methods inherited from class org.productivity.java.habitat4j.crypto.decryptor.CryptoConfig
getKeyDelimiter, getKeyLocation, getKeyReaderClassName, setKeyDelimiter, setKeyLocation, setKeyReaderClassName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_DATA_CHAR_SET

protected static final java.lang.String DEFAULT_DATA_CHAR_SET
See Also:
Constant Field Values

DEFAULT_DATA_PADDING

protected static final boolean DEFAULT_DATA_PADDING
See Also:
Constant Field Values

keyAlgorithm

protected java.lang.String keyAlgorithm

cipherAlgorithm

protected java.lang.String cipherAlgorithm

useDataPadding

protected boolean useDataPadding

dataCharSet

protected java.lang.String dataCharSet

configPropertyListName

protected static java.lang.String configPropertyListName
Constructor Detail

GenericCryptoConfig

public GenericCryptoConfig()
Method Detail

getConfigPropertyListName

public static java.lang.String getConfigPropertyListName()

setConfigPropertyListName

public static void setConfigPropertyListName(java.lang.String configPropertyListName)

getConfig

public static GenericCryptoConfig getConfig(java.lang.Class clazz)
                                     throws DecryptorException
Throws:
DecryptorException

getCipherAlgorithm

public java.lang.String getCipherAlgorithm()

setCipherAlgorithm

public void setCipherAlgorithm(java.lang.String cipherAlgorithm)

getKeyAlgorithm

public java.lang.String getKeyAlgorithm()

setKeyAlgorithm

public void setKeyAlgorithm(java.lang.String keyAlgorithm)

getDataCharSet

public java.lang.String getDataCharSet()

setDataCharSet

public void setDataCharSet(java.lang.String dataCharSet)

isUseDataPadding

public boolean isUseDataPadding()

setUseDataPadding

public void setUseDataPadding(boolean useDataPadding)

getKeyInfo

public KeyInfoIF getKeyInfo(java.lang.String in)
                     throws DecryptorException
Throws:
DecryptorException