Interface SoapMultipleDocumentsSignatureService

All Superinterfaces:
Serializable

public interface SoapMultipleDocumentsSignatureService extends Serializable
Interface for the Contract of the Signature Web Service. The signing web service allows to create a new signature or to extend existing one. Different forms of signature: XAdES, ASiC-S or ASiC-E are accepted. The digital signature of a document in a web environment is performed in three steps: 1. Creating a byte stream representing the data to be signed. 2. Hashing of the data previously obtained and its encryption. 3. The creation of the envelope containing all the elements of a digital signature. The process is controlled by a set of parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.ws.dto.RemoteDocument
    extendDocument(eu.europa.esig.dss.ws.signature.dto.ExtendDocumentDTO extendDocument)
    This web service operation extends the signature of a given document to the level of the signature provided.
    eu.europa.esig.dss.ws.dto.ToBeSignedDTO
    getDataToSign(eu.europa.esig.dss.ws.signature.dto.DataToSignMultipleDocumentsDTO dataToSign)
    This method computes the digest to be signed
    eu.europa.esig.dss.ws.dto.RemoteDocument
    signDocument(eu.europa.esig.dss.ws.signature.dto.SignMultipleDocumentDTO signDocument)
    This web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.
    eu.europa.esig.dss.ws.dto.RemoteDocument
    timestampDocument(eu.europa.esig.dss.ws.signature.dto.TimestampMultipleDocumentDTO timestampDocumentDTO)
    This web service operation timestamps a given document corresponding to the provided timestamp parameters.
  • Method Details

    • getDataToSign

      eu.europa.esig.dss.ws.dto.ToBeSignedDTO getDataToSign(eu.europa.esig.dss.ws.signature.dto.DataToSignMultipleDocumentsDTO dataToSign)
      This method computes the digest to be signed
      Parameters:
      dataToSign - a DTO which contains the documents to sign and parameters
      Returns:
      the data to be signed
    • signDocument

      eu.europa.esig.dss.ws.dto.RemoteDocument signDocument(eu.europa.esig.dss.ws.signature.dto.SignMultipleDocumentDTO signDocument)
      This web service operation signs a document according to a previously signed digest, a level of signature, some signature properties and keyInfo.
      Parameters:
      signDocument - a DTO which contains the documents to be signed, the parameters and the signature value
      Returns:
      the signed document
    • extendDocument

      eu.europa.esig.dss.ws.dto.RemoteDocument extendDocument(eu.europa.esig.dss.ws.signature.dto.ExtendDocumentDTO extendDocument)
      This web service operation extends the signature of a given document to the level of the signature provided. The document is only changed, if the given signature level is 'higher' than the signature level of the document.
      Parameters:
      extendDocument - a DTO which contains the document to be extented and the parameters
      Returns:
      the document with an extended signature
    • timestampDocument

      eu.europa.esig.dss.ws.dto.RemoteDocument timestampDocument(eu.europa.esig.dss.ws.signature.dto.TimestampMultipleDocumentDTO timestampDocumentDTO)
      This web service operation timestamps a given document corresponding to the provided timestamp parameters.
      Parameters:
      timestampDocumentDTO - a DTO which contains the documents to be timestamped and the parameters
      Returns:
      the document with a timestamp