Interface RemoteExternalCMSService

All Superinterfaces:
Serializable
All Known Implementing Classes:
RemoteExternalCMSServiceImpl

public interface RemoteExternalCMSService extends Serializable
This service is used for developing a REST/SOAP API for CMS signature generation conformant to PAdES signature format.
  • Method Summary

    Modifier and Type
    Method
    Description
    eu.europa.esig.dss.ws.dto.ToBeSignedDTO
    getDataToSign(eu.europa.esig.dss.ws.dto.DigestDTO messageDigest, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters)
    Returns a DTBS (Data To Be Signed) for Signature Value creation.
    eu.europa.esig.dss.ws.dto.RemoteDocument
    signMessageDigest(eu.europa.esig.dss.ws.dto.DigestDTO messageDigest, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue)
    Creates a CMS signature signing the provided messageDigest compliant for PAdES signature enveloping.
  • Method Details

    • getDataToSign

      eu.europa.esig.dss.ws.dto.ToBeSignedDTO getDataToSign(eu.europa.esig.dss.ws.dto.DigestDTO messageDigest, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters)
      Returns a DTBS (Data To Be Signed) for Signature Value creation.
      Parameters:
      messageDigest - DigestDTO containing message-digest computed on PDF's signature ByteRange
      parameters - RemoteSignatureParameters set of the signing parameters for CMS signature creation
      Returns:
      DigestDTO representing the DTBS (Data To Be Signed)
    • signMessageDigest

      eu.europa.esig.dss.ws.dto.RemoteDocument signMessageDigest(eu.europa.esig.dss.ws.dto.DigestDTO messageDigest, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue)
      Creates a CMS signature signing the provided messageDigest compliant for PAdES signature enveloping.
      Parameters:
      messageDigest - DigestDTO containing message-digest computed on PDF's signature ByteRange
      parameters - RemoteSignatureParameters set of the signing parameters for CMS signature creation
      signatureValue - SignatureValueDTO the signature value to incorporate
      Returns:
      the CMS signature covering the message-digest for inclusion to a PAdES signature