base.jdbs.cryptography.symmetric
Class SymmetricCipher

java.lang.Object
  extended by base.jdbs.cryptography.symmetric.SymmetricCipher
All Implemented Interfaces:
ISymmetricCipher
Direct Known Subclasses:
DESSymmetricCipher

public abstract class SymmetricCipher
extends java.lang.Object
implements ISymmetricCipher


Field Summary
protected  javax.crypto.Cipher decryptionCipher
          The chiper to be usend for decryption.
protected  javax.crypto.Cipher encryptionCipher
          The chiper to be usend for encryption.
 
Constructor Summary
SymmetricCipher()
           
 
Method Summary
protected  javax.crypto.Cipher getDecryptionCipher()
           
protected  javax.crypto.Cipher getEncryptionCipher()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface base.jdbs.cryptography.symmetric.ISymmetricCipher
decrypt, encrypt
 

Field Detail

encryptionCipher

protected javax.crypto.Cipher encryptionCipher
The chiper to be usend for encryption.


decryptionCipher

protected javax.crypto.Cipher decryptionCipher
The chiper to be usend for decryption.

Constructor Detail

SymmetricCipher

public SymmetricCipher()
Method Detail

getDecryptionCipher

protected javax.crypto.Cipher getDecryptionCipher()
Returns:
Returns the decryptionCipher.

getEncryptionCipher

protected javax.crypto.Cipher getEncryptionCipher()
Returns:
Returns the encryptionCipher.


Copyright © 2006 SF.net. All Rights Reserved.