Class SoapDocumentValidationServiceImpl

java.lang.Object
eu.europa.esig.dss.ws.validation.soap.SoapDocumentValidationServiceImpl
All Implemented Interfaces:
SoapDocumentValidationService, Serializable

public class SoapDocumentValidationServiceImpl extends Object implements SoapDocumentValidationService
SOAP implementation of the validation service
See Also:
  • Constructor Details

    • SoapDocumentValidationServiceImpl

      public SoapDocumentValidationServiceImpl()
      Default construction instantiating object with null RemoteDocumentValidationService
  • Method Details

    • setValidationService

      public void setValidationService(RemoteDocumentValidationService validationService)
      Default constructor
      Parameters:
      validationService - RemoteDocumentValidationService
    • validateSignature

      public WSReportsDTO validateSignature(DataToValidateDTO dataToValidate)
      Description copied from interface: SoapDocumentValidationService
      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
      Specified by:
      validateSignature in interface SoapDocumentValidationService
      Parameters:
      dataToValidate - a DataToValidateDTO which contains the signature, the optional original document(s) and the optional validation policy
      Returns:
      a WSReportsDTO with the 4 reports : the diagnostic data, the detailed report, the simple report and the ETSI validation report
    • getOriginalDocuments

      public List<RemoteDocument> getOriginalDocuments(DataToValidateDTO dataToValidate)
      Description copied from interface: SoapDocumentValidationService
      This method returns the original document(s) for the given signed file and optionally the signatureId.
      Specified by:
      getOriginalDocuments in interface SoapDocumentValidationService
      Parameters:
      dataToValidate - a DataToValidateDTO which contains the signature, the optional original document and the optional signatureId
      Returns:
      a List of RemoteDocument