com.retek.component.payment
Class NoOpEncryptionStrategy

java.lang.Object
  extended bycom.retek.component.payment.BaseEncryptionStrategy
      extended bycom.retek.component.payment.NoOpEncryptionStrategy
All Implemented Interfaces:
EncryptionStrategy, java.io.Serializable

public class NoOpEncryptionStrategy
extends BaseEncryptionStrategy
implements EncryptionStrategy

An encryption strategy that does not perform any encryption at all, but rather deals with clear text values.

Retek Inc. Copyright (c) 2003

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.retek.component.payment.BaseEncryptionStrategy
cipher, keyBytes
 
Constructor Summary
NoOpEncryptionStrategy()
           
 
Method Summary
 java.lang.String decrypt(java.lang.String encryptedText)
           
 java.lang.String encrypt(java.lang.String clearText)
           
 void setKey(java.lang.String stringKey)
           
 
Methods inherited from class com.retek.component.payment.BaseEncryptionStrategy
getCipher, getKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.retek.component.payment.EncryptionStrategy
getKey
 

Constructor Detail

NoOpEncryptionStrategy

public NoOpEncryptionStrategy()
Method Detail

encrypt

public java.lang.String encrypt(java.lang.String clearText)
Specified by:
encrypt in interface EncryptionStrategy

decrypt

public java.lang.String decrypt(java.lang.String encryptedText)
Specified by:
decrypt in interface EncryptionStrategy

setKey

public void setKey(java.lang.String stringKey)
Specified by:
setKey in interface EncryptionStrategy
Overrides:
setKey in class BaseEncryptionStrategy


Copyright © 2005 Retek Inc. All Rights Reserved. - Generated at Fri, 01/21/2005 14:25