base.jdbs.cryptography.symmetric
Class SymmetricKey

java.lang.Object
  extended by base.jdbs.cryptography.Key
      extended by base.jdbs.cryptography.symmetric.SymmetricKey

public class SymmetricKey
extends Key


Constructor Summary
SymmetricKey(java.lang.String value)
          The default SymmetricKey constructor.
 
Method Summary
 java.lang.String getValue()
           
 void retrieve(java.io.File file)
          This method offers the facility to retrieve the keys'content from the file system.
 void store(java.io.File file)
          This method offers the facility to store the keys'content in the file system.
 
Methods inherited from class base.jdbs.cryptography.Key
setValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SymmetricKey

public SymmetricKey(java.lang.String value)
The default SymmetricKey constructor.

Parameters:
value - The symmetric keys' value.
Method Detail

getValue

public java.lang.String getValue()
Overrides:
getValue in class Key
Returns:
Returns the value.

store

public void store(java.io.File file)
Description copied from class: Key
This method offers the facility to store the keys'content in the file system.

Specified by:
store in class Key
Parameters:
file - The file where the keys'content must be stored.

retrieve

public void retrieve(java.io.File file)
Description copied from class: Key
This method offers the facility to retrieve the keys'content from the file system.

Specified by:
retrieve in class Key
Parameters:
file - The file from wich the keys'content must be retrieved.


Copyright © 2006 SF.net. All Rights Reserved.