Interface RestDocumentValidationService
- All Superinterfaces:
Serializable
@Path("/")
@Produces("application/json")
@Consumes("application/json")
public interface RestDocumentValidationService
extends Serializable
This REST interface provides operations for the validation of signature.
-
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
@POST @Path("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
ReportsDTOwith 4 reports : the diagnostic data, the detailed report, the simple report and the ETSI validation report
-
getOriginalDocuments
@POST @Path("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
-