Class TimeStampTokenProductionComparator

java.lang.Object
eu.europa.esig.dss.cades.TimeStampTokenProductionComparator
All Implemented Interfaces:
Serializable, Comparator<org.bouncycastle.tsp.TimeStampToken>

public class TimeStampTokenProductionComparator extends Object implements Comparator<org.bouncycastle.tsp.TimeStampToken>, Serializable
The class used to compare production time of TimeStampTokens Class checks the production time of timestamps and their covered data The method compare() returns -1 if the timeStampTokenOne was created before timeStampTokenTwo 0 if TimeStampTokens were created in the same 1 if the timeStampTokenOne was created after timeStampTokenTwo
See Also: