Class XMLEvidenceRecordTimestampSource
java.lang.Object
eu.europa.esig.dss.spi.validation.timestamp.AbstractTimestampSource
eu.europa.esig.dss.evidencerecord.common.validation.timestamp.EvidenceRecordTimestampSource<XmlEvidenceRecord>
eu.europa.esig.dss.evidencerecord.xml.validation.timestamp.XMLEvidenceRecordTimestampSource
public class XMLEvidenceRecordTimestampSource
extends EvidenceRecordTimestampSource<XmlEvidenceRecord>
This class is used to extract incorporated time-stamps from an XML Evidence Record
-
Field Summary
Fields inherited from class eu.europa.esig.dss.evidencerecord.common.validation.timestamp.EvidenceRecordTimestampSource
certificateSource, crlSource, detachedEvidenceRecords, evidenceRecord, ocspSource, timestamps
-
Constructor Summary
ConstructorDescriptionXMLEvidenceRecordTimestampSource
(XmlEvidenceRecord evidenceRecord) Default constructor to instantiate a time-stamp source from an evidence record -
Method Summary
Modifier and TypeMethodDescriptionprotected TimestampToken
createTimestampToken
(ArchiveTimeStampObject archiveTimeStamp, EvidenceRecordTimestampType evidenceRecordTimestampType) This method is used to create aTimestampToken
fromArchiveTimeStampObject
Methods inherited from class eu.europa.esig.dss.evidencerecord.common.validation.timestamp.EvidenceRecordTimestampSource
addExternalEvidenceRecord, createAndValidate, findTimestampScopes, getDetachedEvidenceRecords, getEncapsulatedReferencesFromCryptographicInformationList, getEncapsulatedReferencesFromTimestamp, getEncapsulatedReferencesFromTimestamps, getEvidenceRecordReference, getSignerDataReferences, getTimestamps, populateSources, populateSources
Methods inherited from class eu.europa.esig.dss.spi.validation.timestamp.AbstractTimestampSource
addReference, addReference, addReferences, createReferenceForCertificate, createReferenceForIdentifier, createReferencesForCertificateRefs, createReferencesForCertificates, createReferencesForCRLBinaries, createReferencesForCRLRefs, createReferencesForIdentifiers, createReferencesForOCSPBinaries, createReferencesForOCSPBinary, createReferencesForOCSPRefs, getEncapsulatedValuesFromTimestamp, getReferencesFromTimestamp, getSignerDataTimestampedReferences, processEmbeddedEvidenceRecords, processEvidenceRecordTimestamps
-
Constructor Details
-
XMLEvidenceRecordTimestampSource
Default constructor to instantiate a time-stamp source from an evidence record- Parameters:
evidenceRecord
-XmlEvidenceRecord
-
-
Method Details
-
createTimestampToken
protected TimestampToken createTimestampToken(ArchiveTimeStampObject archiveTimeStamp, EvidenceRecordTimestampType evidenceRecordTimestampType) Description copied from class:EvidenceRecordTimestampSource
This method is used to create aTimestampToken
fromArchiveTimeStampObject
- Overrides:
createTimestampToken
in classEvidenceRecordTimestampSource<XmlEvidenceRecord>
- Parameters:
archiveTimeStamp
-ArchiveTimeStampObject
to extract time-stamp token fromevidenceRecordTimestampType
-EvidenceRecordTimestampType
- Returns:
TimestampToken
-