Module jpms_dss_ws_signature_remote
Interface RemoteMultipleDocumentsSignatureService
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RemoteMultipleDocumentsSignatureServiceImpl
This interface
RemoteMultipleDocumentsSignatureService provides operations for the signature creation.
This interface allows to sign a set of documents.
Supported implementations :
-XAdES Enveloping
-XAdES Detached
-JAdES Detached
-ASiC-S/E with XAdES
-ASiC-S/E with CAdES-
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.ws.dto.RemoteDocumentextendDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toExtendDocument, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters) Extends the level of the signatures in thetoExtendDocumenteu.europa.esig.dss.ws.dto.ToBeSignedDTOgetDataToSign(List<eu.europa.esig.dss.ws.dto.RemoteDocument> toSignDocuments, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters) Retrieves the bytes of the data that need to be signed based on thetoSignDocumentsandparameters.eu.europa.esig.dss.ws.dto.RemoteDocumentsignDocument(List<eu.europa.esig.dss.ws.dto.RemoteDocument> toSignDocuments, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue) Signs the toSignDocuments with the provided signatureValue.eu.europa.esig.dss.ws.dto.RemoteDocumenttimestamp(List<eu.europa.esig.dss.ws.dto.RemoteDocument> toTimestampDocuments, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTimestampParameters parameters) Adds timestamps to the given list of documents
-
Method Details
-
getDataToSign
eu.europa.esig.dss.ws.dto.ToBeSignedDTO getDataToSign(List<eu.europa.esig.dss.ws.dto.RemoteDocument> toSignDocuments, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters) throws eu.europa.esig.dss.model.DSSException Retrieves the bytes of the data that need to be signed based on thetoSignDocumentsandparameters. WhentoSignDocumentscontains an already existing signature the returned bytes are related to a new parallel signature.- Parameters:
toSignDocuments- list of documents to signparameters- set of the driving signing parameters- Returns:
- the data to be signed
- Throws:
eu.europa.esig.dss.model.DSSException- if an error occurred
-
signDocument
eu.europa.esig.dss.ws.dto.RemoteDocument signDocument(List<eu.europa.esig.dss.ws.dto.RemoteDocument> toSignDocuments, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue) throws eu.europa.esig.dss.model.DSSException Signs the toSignDocuments with the provided signatureValue.- Parameters:
toSignDocuments- list of documents to signparameters- set of the driving signing parameterssignatureValue- the signature value to incorporate- Returns:
- the container with the signature and the documents (ASiC) or the signature file
- Throws:
eu.europa.esig.dss.model.DSSException- if an error occurred
-
extendDocument
eu.europa.esig.dss.ws.dto.RemoteDocument extendDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toExtendDocument, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters) throws eu.europa.esig.dss.model.DSSException Extends the level of the signatures in thetoExtendDocument- Parameters:
toExtendDocument- document to extendparameters- set of the driving signing parameters- Returns:
- the extended signature
- Throws:
eu.europa.esig.dss.model.DSSException- if an error occurred
-
timestamp
eu.europa.esig.dss.ws.dto.RemoteDocument timestamp(List<eu.europa.esig.dss.ws.dto.RemoteDocument> toTimestampDocuments, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteTimestampParameters parameters) throws eu.europa.esig.dss.model.DSSException Adds timestamps to the given list of documents- Parameters:
toTimestampDocuments- a list ofRemoteDocumentto timestampparameters- set of the driving timestamp parameters- Returns:
- the timestamped
RemoteDocument - Throws:
eu.europa.esig.dss.model.DSSException- if an error occurred
-