Class DefaultSignatureProcessExecutor
- java.lang.Object
-
- eu.europa.esig.dss.validation.executor.DefaultSignatureProcessExecutor
-
- All Implemented Interfaces:
ProcessExecutor<Reports>,SignatureProcessExecutor
public class DefaultSignatureProcessExecutor extends Object implements SignatureProcessExecutor
-
-
Constructor Summary
Constructors Constructor Description DefaultSignatureProcessExecutor()
-
Method Summary
Modifier and Type Method Description Reportsexecute()This method allows to run the validation process.DategetCurrentTime()ValidationPolicygetValidationPolicy()voidsetCurrentTime(Date currentTime)This method allows to set theDatethat is used during the validation process execution.voidsetDiagnosticData(XmlDiagnosticData diagnosticData)This method allows to set theXmlDiagnosticDatathat is used during the validation process execution.voidsetEnableEtsiValidationReport(boolean enableEtsiValidationReport)Specifies if the ETSI Validation Report must be createdvoidsetValidationLevel(ValidationLevel validationLevel)This method allows to set the validation level that is used during the validation process execution.voidsetValidationPolicy(ValidationPolicy policy)This method allows to set the validation policy that is used during the validation process execution.
-
-
-
Method Detail
-
setCurrentTime
public void setCurrentTime(Date currentTime)
Description copied from interface:ProcessExecutorThis method allows to set theDatethat is used during the validation process execution.- Specified by:
setCurrentTimein interfaceProcessExecutor<Reports>- Parameters:
currentTime- the current time
-
setDiagnosticData
public void setDiagnosticData(XmlDiagnosticData diagnosticData)
Description copied from interface:ProcessExecutorThis method allows to set theXmlDiagnosticDatathat is used during the validation process execution.- Specified by:
setDiagnosticDatain interfaceProcessExecutor<Reports>- Parameters:
diagnosticData- the JAXB diagnostic data
-
setValidationPolicy
public void setValidationPolicy(ValidationPolicy policy)
Description copied from interface:ProcessExecutorThis method allows to set the validation policy that is used during the validation process execution.- Specified by:
setValidationPolicyin interfaceProcessExecutor<Reports>- Parameters:
policy- the representation of the validation policy.
-
setValidationLevel
public void setValidationLevel(ValidationLevel validationLevel)
Description copied from interface:SignatureProcessExecutorThis method allows to set the validation level that is used during the validation process execution.- Specified by:
setValidationLevelin interfaceSignatureProcessExecutor- Parameters:
validationLevel- the validation level.
-
setEnableEtsiValidationReport
public void setEnableEtsiValidationReport(boolean enableEtsiValidationReport)
Description copied from interface:SignatureProcessExecutorSpecifies if the ETSI Validation Report must be created- Specified by:
setEnableEtsiValidationReportin interfaceSignatureProcessExecutor
-
execute
public Reports execute()
Description copied from interface:ProcessExecutorThis method allows to run the validation process.- Specified by:
executein interfaceProcessExecutor<Reports>- Returns:
- the
Reports
-
getCurrentTime
public Date getCurrentTime()
- Specified by:
getCurrentTimein interfaceProcessExecutor<Reports>
-
getValidationPolicy
public ValidationPolicy getValidationPolicy()
- Specified by:
getValidationPolicyin interfaceProcessExecutor<Reports>
-
-