org.productivity.java.habitat4j.crypto.decryptor.generic.integrity
Class IntegrityGenericPropertyDecryptor

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.integrity.IntegrityGenericCrypto
              extended by org.productivity.java.habitat4j.crypto.decryptor.generic.integrity.IntegrityGenericPropertyDecryptor
All Implemented Interfaces:
DecryptorIF

public class IntegrityGenericPropertyDecryptor
extends IntegrityGenericCrypto
implements DecryptorIF


Field Summary
 
Fields inherited from class org.productivity.java.habitat4j.crypto.decryptor.generic.GenericCrypto
config, keyInfo
 
Constructor Summary
IntegrityGenericPropertyDecryptor()
           
 
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.integrity.IntegrityGenericCrypto
createHash, createPropertyPath, decryptPropertyValue, validate
 
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

IntegrityGenericPropertyDecryptor

public IntegrityGenericPropertyDecryptor()
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
Overrides:
decrypt in class IntegrityGenericCrypto
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