com.retek.component.payment
Class BaseEncryptionStrategy

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

public abstract class BaseEncryptionStrategy
extends java.lang.Object
implements EncryptionStrategy

See Also:
Serialized Form

Field Summary
protected static javax.crypto.Cipher cipher
           
protected  byte[] keyBytes
           
 
Constructor Summary
BaseEncryptionStrategy()
           
 
Method Summary
protected static javax.crypto.Cipher getCipher()
           
 java.lang.String getKey()
           
 void setKey(java.lang.String stringKey)
           
 
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
decrypt, encrypt
 

Field Detail

keyBytes

protected byte[] keyBytes

cipher

protected static javax.crypto.Cipher cipher
Constructor Detail

BaseEncryptionStrategy

public BaseEncryptionStrategy()
Method Detail

getKey

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

setKey

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

getCipher

protected static javax.crypto.Cipher getCipher()
                                        throws java.security.NoSuchAlgorithmException,
                                               javax.crypto.NoSuchPaddingException
Throws:
java.security.NoSuchAlgorithmException
javax.crypto.NoSuchPaddingException


Copyright © 2004 Retek Inc. All Rights Reserved. - Generated at Fri, 10/22/2004 07:28