Class EvidenceRecordTimestampsValidationBlock
java.lang.Object
eu.europa.esig.dss.validation.process.vpftsp.TimestampsValidationBlock
eu.europa.esig.dss.validation.process.vpfswatsp.evidencerecord.EvidenceRecordTimestampsValidationBlock
Verifies a time-stamp of an Evidence Record
-
Field Summary
Fields inherited from class eu.europa.esig.dss.validation.process.vpftsp.TimestampsValidationBlock
currentTime, policy, timestamps
-
Constructor Summary
ConstructorDescriptionEvidenceRecordTimestampsValidationBlock
(I18nProvider i18nProvider, EvidenceRecordWrapper evidenceRecord, DiagnosticData diagnosticData, ValidationPolicy policy, Date currentTime, Map<String, XmlBasicBuildingBlocks> bbbs, List<XmlTLAnalysis> tlAnalysis, ValidationLevel validationLevel) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected POEExtraction
getPoe
(TimestampWrapper timestamp) Returns POE object fortimestamp
validationprotected List
<TimestampWrapper> Returns a list of time-stamp tokens to be validatedMethods inherited from class eu.europa.esig.dss.validation.process.vpftsp.TimestampsValidationBlock
execute
-
Constructor Details
-
EvidenceRecordTimestampsValidationBlock
public EvidenceRecordTimestampsValidationBlock(I18nProvider i18nProvider, EvidenceRecordWrapper evidenceRecord, DiagnosticData diagnosticData, ValidationPolicy policy, Date currentTime, Map<String, XmlBasicBuildingBlocks> bbbs, List<XmlTLAnalysis> tlAnalysis, ValidationLevel validationLevel) Default constructor- Parameters:
i18nProvider
-I18nProvider
evidenceRecord
-EvidenceRecordWrapper
s to validate time-stamps fromdiagnosticData
-DiagnosticData
policy
-ValidationPolicy
currentTime
-Date
validation timebbbs
- map ofXmlBasicBuildingBlocks
to fill the validation resulttlAnalysis
- a list ofXmlTLAnalysis
validationLevel
-ValidationLevel
the target highest level
-
-
Method Details
-
getTimestamps
Description copied from class:TimestampsValidationBlock
Returns a list of time-stamp tokens to be validated- Overrides:
getTimestamps
in classTimestampsValidationBlock
- Returns:
- a list of
TimestampWrapper
s
-
getPoe
Description copied from class:TimestampsValidationBlock
Returns POE object fortimestamp
validation- Overrides:
getPoe
in classTimestampsValidationBlock
- Parameters:
timestamp
-TimestampWrapper
to be validated- Returns:
POEExtraction
-