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

java.lang.Object
  extended by org.productivity.java.habitat4j.crypto.decryptor.StaticCrypto
      extended by org.productivity.java.habitat4j.crypto.decryptor.generic.GenericCrypto
          extended by org.productivity.java.habitat4j.crypto.decryptor.generic.GenericPropertyDecryptor
All Implemented Interfaces:
DecryptorIF

public class GenericPropertyDecryptor
extends GenericCrypto
implements DecryptorIF


Field Summary
 
Fields inherited from class org.productivity.java.habitat4j.crypto.decryptor.generic.GenericCrypto
config, keyInfo
 
Constructor Summary
GenericPropertyDecryptor()
           
 
Method Summary
 java.lang.String decrypt(java.lang.String propertyListName, java.lang.String name, java.lang.String value)
           
 void initialize(java.lang.String appName, java.lang.String propertyListName)
           
 
Methods inherited from class org.productivity.java.habitat4j.crypto.decryptor.generic.GenericCrypto
createHash, createString, decrypt, getBytes, getKeyReader, initialize, xcrypt
 
Methods inherited from class org.productivity.java.habitat4j.crypto.decryptor.StaticCrypto
createString, decode, encode, findPadEndIndex, getBytes, pad, removePad
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GenericPropertyDecryptor

public GenericPropertyDecryptor()
Method Detail

initialize

public void initialize(java.lang.String appName,
                       java.lang.String propertyListName)
                throws DecryptorException
Specified by:
initialize in interface DecryptorIF
Parameters:
appName - - the name of the calling application (use is optional)
propertyListName - - the name of the PropertyList that's calling this method (use is optional)
Throws:
DecryptorException

decrypt

public java.lang.String decrypt(java.lang.String propertyListName,
                                java.lang.String name,
                                java.lang.String value)
                         throws DecryptorException
Specified by:
decrypt in interface DecryptorIF
Parameters:
propertyListName - - the name of the PropertyList that's calling this method (use is optional)
name - - the Property name (use is optional)
value - - the String value to decrypt
Returns:
Returns a decrypted String from parameter "value"
Throws:
DecryptorException