Interface RemoteMultipleDocumentsSignatureService

All Superinterfaces:
Serializable
All Known Implementing Classes:
RemoteMultipleDocumentsSignatureServiceImpl

public interface RemoteMultipleDocumentsSignatureService extends Serializable
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 Type
    Method
    Description
    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)
    Extends the level of the signatures in the toExtendDocument
    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)
    Retrieves the bytes of the data that need to be signed based on the toSignDocuments and parameters .
    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)
    Signs the toSignDocuments with the provided signatureValue.
    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)
    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 the toSignDocuments and parameters . When toSignDocuments contains an already existing signature the returned bytes are related to a new parallel signature.
      Parameters:
      toSignDocuments - list of documents to sign
      parameters - 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 sign
      parameters - set of the driving signing parameters
      signatureValue - 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 the toExtendDocument
      Parameters:
      toExtendDocument - document to extend
      parameters - 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 of RemoteDocument to timestamp
      parameters - set of the driving timestamp parameters
      Returns:
      the timestamped RemoteDocument
      Throws:
      eu.europa.esig.dss.model.DSSException - if an error occurred