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
FieldsModifier and TypeFieldDescriptionprotected booleanDefines if the ETSI Validation Report shall be generated (default: true)protected booleanDefines if the semantics information shall be included (default: false)protected ValidationLevelThe target highest validation level (default: ValidationLevel.ARCHIVAL_DATA)Fields inherited from class AbstractProcessExecutor
currentTime, jaxbDiagnosticData, policy -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor instantiating object with default configuration -
Method Summary
Modifier and TypeMethodDescriptionprotected ReportsbuildReports(DiagnosticData diagnosticData) Builds reportsexecute()This method allows to run the validation process.protected DiagnosticDataGets the DiagnosticDatevoidsetEnableEtsiValidationReport(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 AbstractProcessExecutor
assertConfigurationValid, getCurrentTime, getI18nProvider, getValidationPolicy, setCurrentTime, setDiagnosticData, setLocale, setValidationPolicyMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface 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: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- Parameters:
enableEtsiValidationReport- enable the ETSI Validation Report generation
-
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
Builds reports- Parameters:
diagnosticData-DiagnosticDatato use- Returns:
Reports
-