Interface RestDocumentValidationService
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RestDocumentValidationServiceImpl
@Path("/") @Produces("application/json") @Consumes("application/json") public interface RestDocumentValidationService extends SerializableThis REST interface provides operations for the validation of signature.
-
-
Method Summary
Modifier and Type Method Description List<RemoteDocument>getOriginalDocuments(DataToValidateDTO dataToValidate)This method returns the original document(s) for the given signed file and optionally the signatureId.WSReportsDTOvalidateSignature(DataToValidateDTO dataToValidate)This method returns the result of the validation of the signed file.
-
-
-
Method Detail
-
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- 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<RemoteDocument> getOriginalDocuments(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
-
-