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 Details

    • getDataToSign

      ToBeSignedDTO getDataToSign(DigestDTO messageDigest, 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

      RemoteDocument signMessageDigest(DigestDTO messageDigest, RemoteSignatureParameters parameters, 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