base.jdbs.cryptography
Class Key

java.lang.Object
  extended by base.jdbs.cryptography.Key
Direct Known Subclasses:
PrivateKey, PublicKey, SymmetricKey

public abstract class Key
extends java.lang.Object


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

Constructor Detail

Key

public Key(java.lang.Object value)
Parameters:
value - The value associated to the key.
Method Detail

getValue

public java.lang.Object getValue()
Returns:
Returns the value.

setValue

public void setValue(java.lang.String value)
Parameters:
value - The value to set.

store

public abstract void store(java.io.File file)
This method offers the facility to store the keys'content in the file system.

Parameters:
file - The file where the keys'content must be stored.

retrieve

public abstract void retrieve(java.io.File file)
This method offers the facility to retrieve the keys'content from the file system.

Parameters:
file - The file from wich the keys'content must be retrieved.


Copyright © 2006 SF.net. All Rights Reserved.