Class CadesLevelBaselineLTATimestampExtractor

java.lang.Object
eu.europa.esig.dss.cades.signature.CadesLevelBaselineLTATimestampExtractor

public class CadesLevelBaselineLTATimestampExtractor extends Object
Extracts the necessary information to compute the CAdES Archive Timestamp V3.

See "5.5.2 The ats-hash-index-v3 attribute":

The ats-hash-index-v3 is invalid if it contains a reference for which the original value is not found, i.e.: - a reference represented by an entry in certificatesHashIndex which corresponds to no instance of CertificateChoices within certificates field of the root SignedData; - a reference represented by an entry in crlsHashIndex which corresponds to no instance of RevocationInfoChoice within crls field of the root SignedData; or - a reference represented by an entry in unsignedAttrValuesHashIndex which corresponds to no octet stream resulting from concatenating one of the AttributeValue instances within field Attribute.attrValues and the corresponding Attribute.attrType within one Attribute instance in unsignedAttrs field of the SignerInfo.