at.gv.egiz.pdfas.api.timestamp
Class DummyTimeStamper

java.lang.Object
  extended byat.gv.egiz.pdfas.api.timestamp.DummyTimeStamper
All Implemented Interfaces:
TimeStamper

public class DummyTimeStamper
extends Object
implements TimeStamper

Dummy/test implementation of the timestamper. Logs and stores test-timestamp for assertion getLastTimeStamp()

Author:
dferbas

Constructor Summary
DummyTimeStamper()
           
 
Method Summary
 String applyTimeStamp(String b64SignatureValue)
          Implement timestamp in this method.
 String getLastTimeStamp()
           
 void setLastTimeStamp(String lastTimeStamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DummyTimeStamper

public DummyTimeStamper()
Method Detail

applyTimeStamp

public String applyTimeStamp(String b64SignatureValue)
Description copied from interface: TimeStamper
Implement timestamp in this method.

Specified by:
applyTimeStamp in interface TimeStamper
Parameters:
b64SignatureValue - signature value, base64 encoded
Returns:
timestamp to be embedded in egiz dictionary base64 encoded (following RFC3161).

getLastTimeStamp

public String getLastTimeStamp()

setLastTimeStamp

public void setLastTimeStamp(String lastTimeStamp)


Copyright © 2006-2010. All Rights Reserved.