Interface RestDocumentValidationService

All Superinterfaces:
Serializable
All Known Implementing Classes:
RestDocumentValidationServiceImpl

@Path("/") @Produces("application/json") @Consumes("application/json") public interface RestDocumentValidationService extends Serializable
This REST interface provides operations for the validation of signature.
  • Method Details

    • validateSignature

      @POST @Path("validateSignature") WSReportsDTO validateSignature(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 - a DataToValidateDTO which contains the signature, the optional original document(s) and the optional validation policy
      Returns:
      a ReportsDTO with 4 reports : the diagnostic data, the detailed report, the simple report and the ETSI validation report
    • getOriginalDocuments

      @POST @Path("getOriginalDocuments") List<RemoteDocument> getOriginalDocuments(DataToValidateDTO dataToValidate)
      This method returns the original document(s) for the given signed file and optionally the signatureId.
      Parameters:
      dataToValidate - a DataToValidateDTO which contains the signature, the optional original document and the optional signatureId
      Returns:
      a List of RemoteDocument