|
DigiStamp.com | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectdgs.tlkt.demo.ProductionProcess
An example of client code for the complete process of time stamping your data.
This source code is include with the SecureTime toolkit distribution.
The process of creating and verify a time stamp has been reduced to just a few steps. In this example we show a logical approach that always delivers a time stamp and raises error conditions only in the unlikely event that all of the DigiStamp servers were unable to respond. The processing includes automatic failover among DigiStamp servers and verify the chain-of-authority for the public key certificate.
The steps are:
Prerequisites:
runDemo(String, String)| Constructor Summary | |
ProductionProcess()
|
|
| Method Summary | |
static DgsComm |
getTsaLocalProxy()
The TSA local proxy is implemented with lazy initialization. |
static void |
main(java.lang.String[] args)
Execute the demo.Enter parameters input file name that will be time stamped output file name of the time stamp |
void |
runDemo(java.lang.String fileToTimestamp,
java.lang.String outFileName)
This is a demonstration of code that peforms the basic steps of a client user of the SecureTime toolkit. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public ProductionProcess()
| Method Detail |
public static DgsComm getTsaLocalProxy()
throws java.io.FileNotFoundException,
java.io.IOException
java.io.FileNotFoundException
java.io.IOExceptionpublic static void main(java.lang.String[] args)
runDemo(String, String)
public void runDemo(java.lang.String fileToTimestamp,
java.lang.String outFileName)
Prerequisites:
|
Copyright 2000-2008 DigiStamp, Inc. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||