org.eparapher.core.crypto.timestamp
Class TimeStampManager

java.lang.Object
  extended by org.eparapher.core.crypto.timestamp.TimeStampManager

public class TimeStampManager
extends Object


Method Summary
static TimeStampManager getIstance()
           
static byte[] getTimestamp(byte[] empreinte, String idJeton)
          Création d'un jeton d'horodatage via la date du systeme pour nos test c'est tout a fait valable nous avons bien un jeton conforme à la norme si ce n'est que la date n'est pas probante.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getIstance

public static TimeStampManager getIstance()

getTimestamp

public static byte[] getTimestamp(byte[] empreinte,
                                  String idJeton)
                           throws Exception
Création d'un jeton d'horodatage via la date du systeme pour nos test c'est tout a fait valable nous avons bien un jeton conforme à la norme si ce n'est que la date n'est pas probante. et accessoirement nous utilison aussi un certificat autosigné pour obtenir un jeton ayant valeur légale vous devez obtenir le temps par un serveur NTP et utiliser une pair de clef fournie aupres d"une PKI

Parameters:
empreinte -
idJeton -
Returns:
Throws:
Exception


Copyright © 2009 eParapher Software Foundation. All Rights Reserved.