Class EvidenceRecordsValidationBlock
java.lang.Object
eu.europa.esig.dss.validation.process.vpfswatsp.evidencerecord.EvidenceRecordsValidationBlock
Performs validation of all evidence records provided to the validator
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final Date
The validation timeprotected final ValidationPolicy
The validation policy -
Constructor Summary
ConstructorsConstructorDescriptionEvidenceRecordsValidationBlock
(I18nProvider i18nProvider, DiagnosticData diagnosticData, ValidationPolicy policy, Date currentTime, Map<String, XmlBasicBuildingBlocks> bbbs, List<XmlTLAnalysis> tlAnalysis, ValidationLevel validationLevel, POEExtraction poe) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionvoid
execute()
Performs validation of evidence recordsReturns a map of performed evidence record validationsReturns a map of performed time-stamp validations
-
Field Details
-
policy
The validation policy -
currentTime
The validation time
-
-
Constructor Details
-
EvidenceRecordsValidationBlock
public EvidenceRecordsValidationBlock(I18nProvider i18nProvider, DiagnosticData diagnosticData, ValidationPolicy policy, Date currentTime, Map<String, XmlBasicBuildingBlocks> bbbs, List<XmlTLAnalysis> tlAnalysis, ValidationLevel validationLevel, POEExtraction poe) Default constructor- Parameters:
i18nProvider
-I18nProvider
diagnosticData
-DiagnosticData
policy
-ValidationPolicy
currentTime
-Date
validation timebbbs
- map ofXmlBasicBuildingBlocks
to fill the validation resulttlAnalysis
- a list ofXmlTLAnalysis
validationLevel
-ValidationLevel
the target highest levelpoe
-POEExtraction
-
-
Method Details
-
execute
public void execute()Performs validation of evidence records -
getTimestampValidations
Returns a map of performed time-stamp validations- Returns:
- a map of time-stamp identifiers and their corresponding validations
-
getEvidenceRecordValidations
Returns a map of performed evidence record validations- Returns:
- a map of evidence record identifiers and their corresponding validations
-