Class RestCertificateValidationServiceImpl
java.lang.Object
eu.europa.esig.dss.ws.cert.validation.rest.RestCertificateValidationServiceImpl
- All Implemented Interfaces:
RestCertificateValidationService
,Serializable
public class RestCertificateValidationServiceImpl
extends Object
implements RestCertificateValidationService
The default implementation of
RestCertificateValidationService
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault construction instantiating object with null RemoteCertificateValidationService -
Method Summary
Modifier and TypeMethodDescriptionvoid
setValidationService
(RemoteCertificateValidationService validationService) Sets the certificate validation servicevalidateCertificate
(CertificateToValidateDTO certificateToValidate) This method returns the result of the validation of the signed file.
-
Constructor Details
-
RestCertificateValidationServiceImpl
public RestCertificateValidationServiceImpl()Default construction instantiating object with null RemoteCertificateValidationService
-
-
Method Details
-
setValidationService
Sets the certificate validation service- Parameters:
validationService
-RemoteCertificateValidationService
-
validateCertificate
Description copied from interface:RestCertificateValidationService
This method returns the result of the validation of the signed file. The results contains a Diagnostic Data, simple certificate report and detailed report- Specified by:
validateCertificate
in interfaceRestCertificateValidationService
- Parameters:
certificateToValidate
- aCertificateToValidateDTO
which contains the certificate, certificate chain and validation time- Returns:
- a
CertificateReportsDTO
with the 3 reports : the diagnostic data, the detailed report and the simple certificate report
-