Interface RestMultipleDocumentSignatureService
- All Superinterfaces:
Serializable
@Path("/")
@Produces("application/json")
@Consumes("application/json")
public interface RestMultipleDocumentSignatureService
extends Serializable
This REST interface provides operations for the signature creation and for its extension.
-
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.ws.dto.RemoteDocumentextendDocument(eu.europa.esig.dss.ws.signature.dto.ExtendDocumentDTO extendDocument) Extends the level of the signatures in the toExtendDocumenteu.europa.esig.dss.ws.dto.ToBeSignedDTOgetDataToSign(eu.europa.esig.dss.ws.signature.dto.DataToSignMultipleDocumentsDTO dataToSign) Retrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.eu.europa.esig.dss.ws.dto.RemoteDocumentsignDocument(eu.europa.esig.dss.ws.signature.dto.SignMultipleDocumentDTO signDocument) Signs the toSignDocuments with the provided signatureValue.eu.europa.esig.dss.ws.dto.RemoteDocumenttimestampDocuments(eu.europa.esig.dss.ws.signature.dto.TimestampMultipleDocumentDTO timestampDocument) Timestamps the toTimestampDocuments with the provided timestamp parameters.
-
Method Details
-
getDataToSign
@POST @Path("getDataToSignMultiple") eu.europa.esig.dss.ws.dto.ToBeSignedDTO getDataToSign(eu.europa.esig.dss.ws.signature.dto.DataToSignMultipleDocumentsDTO dataToSign) Retrieves the bytes of the data that need to be signed based on the toSignDocument and parameters.- Parameters:
dataToSign- a DTO with the needed information (one or more document(s) and parameters) to compute the data to be signed- Returns:
- the data to be signed
-
signDocument
@POST @Path("signDocument") eu.europa.esig.dss.ws.dto.RemoteDocument signDocument(eu.europa.esig.dss.ws.signature.dto.SignMultipleDocumentDTO signDocument) Signs the toSignDocuments with the provided signatureValue.- Parameters:
signDocument- a DTO with the needed information (one or more document(s), parameters and signature value) to generate the signed document- Returns:
- the signed document
-
extendDocument
@POST @Path("extendDocument") eu.europa.esig.dss.ws.dto.RemoteDocument extendDocument(eu.europa.esig.dss.ws.signature.dto.ExtendDocumentDTO extendDocument) Extends the level of the signatures in the toExtendDocument- Parameters:
extendDocument- a DTO with the needed information (the signed document and extension parameters) to generate the extended document- Returns:
- the extended document
-
timestampDocuments
@POST @Path("timestampDocument") eu.europa.esig.dss.ws.dto.RemoteDocument timestampDocuments(eu.europa.esig.dss.ws.signature.dto.TimestampMultipleDocumentDTO timestampDocument) Timestamps the toTimestampDocuments with the provided timestamp parameters.- Parameters:
timestampDocument- a DTO with the needed information (one or more document(s) and timestamp parameters) to timestamp the document(s)- Returns:
- a timestamped document
-