ostore.mac
Class TestStage

java.lang.Object
  |
  +--ostore.mac.TestStage
All Implemented Interfaces:
EventHandlerIF, ProfilableIF

public class TestStage
extends Object
implements EventHandlerIF, ProfilableIF

TestStage stage for trying out security protocols: DH and HMAC


Field Summary
static boolean DEBUG
           
 
Constructor Summary
TestStage()
           
 
Method Summary
 void destroy()
           
 void handleEvent(QueueElementIF item)
           
 void handleEvents(QueueElementIF[] item)
           
 void init(ConfigDataIF config)
           
 int profileSize()
           
 void selfTest()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEBUG

public static final boolean DEBUG
See Also:
Constant Field Values
Constructor Detail

TestStage

public TestStage()
Method Detail

handleEvent

public void handleEvent(QueueElementIF item)
                 throws EventHandlerException
Specified by:
handleEvent in interface EventHandlerIF
EventHandlerException

handleEvents

public void handleEvents(QueueElementIF[] item)
                  throws EventHandlerException
Specified by:
handleEvents in interface EventHandlerIF
EventHandlerException

init

public void init(ConfigDataIF config)
          throws Exception
Specified by:
init in interface EventHandlerIF
Exception

selfTest

public void selfTest()
              throws NoSuchProviderException,
                     NoSuchAlgorithmException,
                     InvalidKeyException,
                     InvalidAlgorithmParameterException,
                     InvalidParameterSpecException
NoSuchProviderException
NoSuchAlgorithmException
InvalidKeyException
InvalidAlgorithmParameterException
InvalidParameterSpecException

destroy

public void destroy()
             throws Exception
Specified by:
destroy in interface EventHandlerIF
Exception

profileSize

public int profileSize()
Specified by:
profileSize in interface ProfilableIF