Interface SoapDocumentValidationService
- All Superinterfaces:
Serializable
The validation web service allow to validate the signature inside a signed file. In addition, the original file and a
specific policy can be passed to perform the validation.
-
Method Summary
Modifier and TypeMethodDescriptionList<eu.europa.esig.dss.ws.dto.RemoteDocument> getOriginalDocuments(eu.europa.esig.dss.ws.validation.dto.DataToValidateDTO dataToValidate) This method returns the original document(s) for the given signed file and optionally the signatureId.eu.europa.esig.dss.ws.validation.dto.WSReportsDTOvalidateSignature(eu.europa.esig.dss.ws.validation.dto.DataToValidateDTO dataToValidate) This method returns the result of the validation of the signed file.
-
Method Details
-
validateSignature
eu.europa.esig.dss.ws.validation.dto.WSReportsDTO validateSignature(eu.europa.esig.dss.ws.validation.dto.DataToValidateDTO dataToValidate) This method returns the result of the validation of the signed file. The results contains a Diagnostic Data, simple report, detailed report and ETSI validation report- Parameters:
dataToValidate- aDataToValidateDTOwhich contains the signature, the optional original document(s) and the optional validation policy- Returns:
- a
WSReportsDTOwith the 4 reports : the diagnostic data, the detailed report, the simple report and the ETSI validation report
-
getOriginalDocuments
List<eu.europa.esig.dss.ws.dto.RemoteDocument> getOriginalDocuments(eu.europa.esig.dss.ws.validation.dto.DataToValidateDTO dataToValidate) This method returns the original document(s) for the given signed file and optionally the signatureId.- Parameters:
dataToValidate- aDataToValidateDTOwhich contains the signature, the optional original document and the optional signatureId- Returns:
- a List of
RemoteDocument
-