Interface RestExternalCMSService

All Superinterfaces:
Serializable
All Known Implementing Classes:
RestExternalCMSServiceImpl

@Path("/") @Produces("application/json") @Consumes("application/json") public interface RestExternalCMSService extends Serializable
This REST interface provides a possibility of CMS signature creation suitable for PAdES signing
  • Method Details

    • getDataToSign

      @POST @Path("getDataToSign") ToBeSignedDTO getDataToSign(DataToSignExternalCmsDTO dataToSign)
      Returns a DTBS (Data To Be Signed) for Signature Value creation.
      Parameters:
      dataToSign - DataToSignExternalCmsDTO containing message-digest computed on PDF's signature ByteRange and a set of signature driving parameters
      Returns:
      ToBeSignedDTO data to be signed representation
    • signMessageDigest

      @POST @Path("signMessageDigest") RemoteDocument signMessageDigest(SignMessageDigestExternalCmsDTO signMessageDigest)
      Creates a CMS signature signing the provided messageDigest compliant for PAdES signature enveloping.
      Parameters:
      signMessageDigest - SignMessageDigestExternalCmsDTO containing message-digest computed on PDF's signature ByteRange, set of signature driving parameters and a signatureValue computed on DTBS
      Returns:
      RemoteDocument representing a CMS signature suitable for PAdES-BASELINE creation