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 SummaryModifier and TypeMethodDescriptiongetDataToSign(DataToSignExternalCmsDTO dataToSign) Returns a DTBS (Data To Be Signed) for Signature Value creation.signMessageDigest(SignMessageDigestExternalCmsDTO signMessageDigest) Creates a CMS signature signing the providedmessageDigestcompliant for PAdES signature enveloping.
- 
Method Details- 
getDataToSignReturns a DTBS (Data To Be Signed) for Signature Value creation.- Parameters:
- dataToSign-- DataToSignExternalCmsDTOcontaining message-digest computed on PDF's signature ByteRange and a set of signature driving parameters
- Returns:
- ToBeSignedDTOdata to be signed representation
 
- 
signMessageDigest@POST @Path("signMessageDigest") RemoteDocument signMessageDigest(SignMessageDigestExternalCmsDTO signMessageDigest) Creates a CMS signature signing the providedmessageDigestcompliant for PAdES signature enveloping.- Parameters:
- signMessageDigest-- SignMessageDigestExternalCmsDTOcontaining message-digest computed on PDF's signature ByteRange, set of signature driving parameters and a signatureValue computed on DTBS
- Returns:
- RemoteDocumentrepresenting a CMS signature suitable for PAdES-BASELINE creation
 
 
-