DigiStamp.com

dgs.tlkt.demo
Class ProductionProcess

java.lang.Object
  extended bydgs.tlkt.demo.ProductionProcess

public class ProductionProcess
extends java.lang.Object

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:

  1. Load you Internet communications preferences
  2. Retrieve the time stamp
  3. Verify the time stamp signature
  4. Verify the trust of time stamp certificate

Prerequisites:

  1. create your configuration file (account, password and failover rules).
  2. install the DigiStamp CA certificate for authenticating the retrieved time stamps.

See Also:
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

ProductionProcess

public ProductionProcess()
Method Detail

getTsaLocalProxy

public static DgsComm getTsaLocalProxy()
                                throws java.io.FileNotFoundException,
                                       java.io.IOException
The TSA local proxy is implemented with lazy initialization. Commonly this proxy would be used as a Singleton.

Returns:
Throws:
java.io.FileNotFoundException
java.io.IOException

main

public static void main(java.lang.String[] args)
Execute the demo.Enter parameters
  1. input file name that will be time stamped
  2. output file name of the time stamp

See Also:
runDemo(String, String)

runDemo

public 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. The steps are:
  1. Load you Internet communications preferences
  2. Retrieve the time stamp
  3. Verify the time stamp signature
  4. Verify the trust of time stamp signature certificate

Prerequisites:

  1. create your configuration file (account, password and failover rules).
  2. install the DigiStamp CA certificate for verify the retrieved time stamp.


Copyright 2000-2008 DigiStamp, Inc.