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
Fields Modifier and Type Field Description protected boolean
enableEtsiValidationReport
protected boolean
includeSemantics
protected ValidationLevel
validationLevel
Fields inherited from class eu.europa.esig.dss.validation.executor.AbstractProcessExecutor
currentTime, jaxbDiagnosticData, policy
-
Constructor Summary
Constructors Constructor Description DefaultSignatureProcessExecutor()
-
Method Summary
Modifier and Type Method Description protected Reports
buildReports(DiagnosticData diagnosticData)
Reports
execute()
This method allows to run the validation process.protected DiagnosticData
getDiagnosticData()
void
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
-
enableEtsiValidationReport
protected boolean enableEtsiValidationReport -
includeSemantics
protected boolean includeSemantics
-
-
Constructor Details
-
DefaultSignatureProcessExecutor
public DefaultSignatureProcessExecutor()
-
-
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
-
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
-
buildReports
-