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
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEBUG
public static final boolean DEBUG
- See Also:
- Constant Field Values
TestStage
public TestStage()
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