Class CAdESAttributeOrderComparator

java.lang.Object
eu.europa.esig.dss.cades.validation.CAdESAttributeOrderComparator
All Implemented Interfaces:
Serializable, Comparator<CAdESAttribute>

public class CAdESAttributeOrderComparator extends Object implements Comparator<CAdESAttribute>, Serializable
The class is used to compare order and only original order of CAdESAttributes from an AttributeTable Class checks the production time of timestamps and their covered data

The method compare() returns -1 if the attributeOne has original order before attributeTwo 0 if attributes have the same order (should not happen) 1 if the attributeOne has original order after attributeTwo

See Also: