Class DefaultCertificateProcessExecutor
- java.lang.Object
-
- eu.europa.esig.dss.validation.executor.DefaultCertificateProcessExecutor
-
- All Implemented Interfaces:
CertificateProcessExecutor,ProcessExecutor<CertificateReports>
public class DefaultCertificateProcessExecutor extends Object implements CertificateProcessExecutor
-
-
Constructor Summary
Constructors Constructor Description DefaultCertificateProcessExecutor()
-
Method Summary
Modifier and Type Method Description CertificateReportsexecute()This method allows to run the validation process.DategetCurrentTime()ValidationPolicygetValidationPolicy()voidsetCertificateId(String certificateId)Allows to specify if of the target certificate present in the Diagnostic Data to be verifiedvoidsetCurrentTime(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.voidsetValidationPolicy(ValidationPolicy validationPolicy)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<CertificateReports>- Parameters:
currentTime- the current time
-
getCurrentTime
public Date getCurrentTime()
- Specified by:
getCurrentTimein interfaceProcessExecutor<CertificateReports>
-
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<CertificateReports>- Parameters:
diagnosticData- the JAXB diagnostic data
-
setValidationPolicy
public void setValidationPolicy(ValidationPolicy validationPolicy)
Description copied from interface:ProcessExecutorThis method allows to set the validation policy that is used during the validation process execution.- Specified by:
setValidationPolicyin interfaceProcessExecutor<CertificateReports>- Parameters:
validationPolicy- the representation of the validation policy.
-
getValidationPolicy
public ValidationPolicy getValidationPolicy()
- Specified by:
getValidationPolicyin interfaceProcessExecutor<CertificateReports>
-
setCertificateId
public void setCertificateId(String certificateId)
Description copied from interface:CertificateProcessExecutorAllows to specify if of the target certificate present in the Diagnostic Data to be verified- Specified by:
setCertificateIdin interfaceCertificateProcessExecutor- Parameters:
certificateId-Stringid of the certificate to be verified
-
execute
public CertificateReports execute()
Description copied from interface:ProcessExecutorThis method allows to run the validation process.- Specified by:
executein interfaceProcessExecutor<CertificateReports>- Returns:
- the
Reports
-
-