Interface RemoteExternalCMSService
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
RemoteExternalCMSServiceImpl
This service is used for developing a REST/SOAP API for CMS signature generation
conformant to PAdES signature format.
-
Method Summary
Modifier and TypeMethodDescriptiongetDataToSign
(DigestDTO messageDigest, RemoteSignatureParameters parameters) Returns a DTBS (Data To Be Signed) for Signature Value creation.signMessageDigest
(DigestDTO messageDigest, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) Creates a CMS signature signing the providedmessageDigest
compliant for PAdES signature enveloping.
-
Method Details
-
getDataToSign
Returns a DTBS (Data To Be Signed) for Signature Value creation.- Parameters:
messageDigest
-DigestDTO
containing message-digest computed on PDF's signature ByteRangeparameters
-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 providedmessageDigest
compliant for PAdES signature enveloping.- Parameters:
messageDigest
-DigestDTO
containing message-digest computed on PDF's signature ByteRangeparameters
-RemoteSignatureParameters
set of the signing parameters for CMS signature creationsignatureValue
-SignatureValueDTO
the signature value to incorporate- Returns:
- the CMS signature covering the message-digest for inclusion to a PAdES signature
-