com.retek.component.payment
Class BaseEncryptionStrategy
java.lang.Object
com.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
|
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 |
keyBytes
protected byte[] keyBytes
cipher
protected static javax.crypto.Cipher cipher
BaseEncryptionStrategy
public BaseEncryptionStrategy()
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 © 2005 Retek Inc. All Rights Reserved.
- Generated at Fri, 01/21/2005 14:25