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 booleanenableEtsiValidationReportprotected booleanincludeSemanticsprotected ValidationLevelvalidationLevelFields 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 ReportsbuildReports(DiagnosticData diagnosticData)Reportsexecute()This method allows to run the validation process.protected DiagnosticDatagetDiagnosticData()voidsetEnableEtsiValidationReport(boolean enableEtsiValidationReport)Specifies if the ETSI Validation Report must be createdvoidsetIncludeSemantics(boolean includeSemantics)This method allows to enable/disable the semantics inclusion in the reports (Indication / SubIndication meanings) Disabled by defaultvoidsetValidationLevel(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, setValidationPolicyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:DocumentProcessExecutorThis method allows to set the validation level that is used during the validation process execution.- Specified by:
setValidationLevelin interfaceDocumentProcessExecutor- Parameters:
validationLevel- the validation level.
-
setEnableEtsiValidationReport
public void setEnableEtsiValidationReport(boolean enableEtsiValidationReport)Description copied from interface:DocumentProcessExecutorSpecifies if the ETSI Validation Report must be created- Specified by:
setEnableEtsiValidationReportin interfaceDocumentProcessExecutor
-
setIncludeSemantics
public void setIncludeSemantics(boolean includeSemantics)Description copied from interface:DocumentProcessExecutorThis method allows to enable/disable the semantics inclusion in the reports (Indication / SubIndication meanings) Disabled by default- Specified by:
setIncludeSemanticsin interfaceDocumentProcessExecutor- Parameters:
includeSemantics- true to enable the inclusion of the semantics
-
execute
Description copied from interface:ProcessExecutorThis method allows to run the validation process.- Specified by:
executein interfaceProcessExecutor<Reports>- Returns:
- the
Reports
-
getDiagnosticData
-
buildReports
-