Class DefaultSignatureProcessExecutor
java.lang.Object
eu.europa.esig.dss.validation.executor.AbstractProcessExecutor
eu.europa.esig.dss.validation.executor.signature.DefaultSignatureProcessExecutor
- All Implemented Interfaces:
DocumentProcessExecutor
,ProcessExecutor<Reports>
public class DefaultSignatureProcessExecutor
extends AbstractProcessExecutor
implements DocumentProcessExecutor
This class executes a signature validation process and produces
SimpleReport, DetailedReport and ETSI Validation report
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
Defines if the ETSI Validation Report shall be generated (default: true)protected boolean
Defines if the semantics information shall be included (default: false)protected ValidationLevel
The target highest validation level (default: ValidationLevel.ARCHIVAL_DATA)Fields inherited from class eu.europa.esig.dss.validation.executor.AbstractProcessExecutor
currentTime, jaxbDiagnosticData, policy
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with default configuration -
Method Summary
Modifier and TypeMethodDescriptionprotected Reports
buildReports
(DiagnosticData diagnosticData) Builds reportsexecute()
This method allows to run the validation process.protected DiagnosticData
Gets the DiagnosticDatevoid
setEnableEtsiValidationReport
(boolean enableEtsiValidationReport) Specifies if the ETSI Validation Report must be createdvoid
setIncludeSemantics
(boolean includeSemantics) This method allows to enable/disable the semantics inclusion in the reports (Indication / SubIndication meanings) Disabled by defaultvoid
setValidationLevel
(ValidationLevel validationLevel) This method allows to set the validation level that is used during the validation process execution.Methods inherited from class eu.europa.esig.dss.validation.executor.AbstractProcessExecutor
assertConfigurationValid, getCurrentTime, getI18nProvider, getValidationPolicy, setCurrentTime, setDiagnosticData, setLocale, setValidationPolicy
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface eu.europa.esig.dss.validation.executor.ProcessExecutor
getCurrentTime, getValidationPolicy, setCurrentTime, setDiagnosticData, setLocale, setValidationPolicy
-
Field Details
-
validationLevel
The target highest validation level (default: ValidationLevel.ARCHIVAL_DATA) -
enableEtsiValidationReport
protected boolean enableEtsiValidationReportDefines if the ETSI Validation Report shall be generated (default: true) -
includeSemantics
protected boolean includeSemanticsDefines if the semantics information shall be included (default: false)
-
-
Constructor Details
-
DefaultSignatureProcessExecutor
public DefaultSignatureProcessExecutor()Default constructor instantiating object with default configuration
-
-
Method Details
-
setValidationLevel
Description copied from interface:DocumentProcessExecutor
This method allows to set the validation level that is used during the validation process execution.- Specified by:
setValidationLevel
in interfaceDocumentProcessExecutor
- Parameters:
validationLevel
- the validation level.
-
setEnableEtsiValidationReport
public void setEnableEtsiValidationReport(boolean enableEtsiValidationReport) Description copied from interface:DocumentProcessExecutor
Specifies if the ETSI Validation Report must be created- Specified by:
setEnableEtsiValidationReport
in interfaceDocumentProcessExecutor
- Parameters:
enableEtsiValidationReport
- enable the ETSI Validation Report generation
-
setIncludeSemantics
public void setIncludeSemantics(boolean includeSemantics) Description copied from interface:DocumentProcessExecutor
This method allows to enable/disable the semantics inclusion in the reports (Indication / SubIndication meanings) Disabled by default- Specified by:
setIncludeSemantics
in interfaceDocumentProcessExecutor
- Parameters:
includeSemantics
- true to enable the inclusion of the semantics
-
execute
Description copied from interface:ProcessExecutor
This method allows to run the validation process.- Specified by:
execute
in interfaceProcessExecutor<Reports>
- Returns:
- the
Reports
-
getDiagnosticData
Gets the DiagnosticDate- Returns:
DiagnosticData
-
buildReports
Builds reports- Parameters:
diagnosticData
-DiagnosticData
to use- Returns:
Reports
-