Class RemoteCertificateValidationService
java.lang.Object
eu.europa.esig.dss.ws.cert.validation.common.RemoteCertificateValidationService
The webService for a Certificate validation
-
Constructor Summary
ConstructorDescriptionDefault construction instantiating object with null CertificateVerifier -
Method Summary
Modifier and TypeMethodDescriptionprotected CertificateValidator
initValidator
(CertificateToValidateDTO certificateToValidate) Instantiates aCertificateValidator
based on the request data DTOvoid
setDefaultValidationPolicy
(ValidationPolicy validationPolicy) Sets the validation policy to be used by default, when no policy provided within the requestvoid
setDefaultValidationPolicy
(InputStream validationPolicy) Sets the validation policy to be used by default, when no policy provided within the requestvoid
setVerifier
(CertificateVerifier verifier) Sets the CertificateVerifiervalidateCertificate
(CertificateToValidateDTO certificateToValidate) Validates the certificate
-
Constructor Details
-
RemoteCertificateValidationService
public RemoteCertificateValidationService()Default construction instantiating object with null CertificateVerifier
-
-
Method Details
-
setVerifier
Sets the CertificateVerifier- Parameters:
verifier
-CertificateVerifier
to be used for validation
-
setDefaultValidationPolicy
Sets the validation policy to be used by default, when no policy provided within the request- Parameters:
validationPolicy
-InputStream
-
setDefaultValidationPolicy
Sets the validation policy to be used by default, when no policy provided within the request- Parameters:
validationPolicy
-ValidationPolicy
-
validateCertificate
Validates the certificate- Parameters:
certificateToValidate
-CertificateToValidateDTO
the DTO containing the certificate to be validated and its corresponding data- Returns:
CertificateReportsDTO
the validation reports
-
initValidator
Instantiates aCertificateValidator
based on the request data DTO- Parameters:
certificateToValidate
-CertificateToValidateDTO
representing the request data- Returns:
CertificateValidator
-