Class RemoteExternalCMSServiceImpl
java.lang.Object
eu.europa.esig.dss.ws.signature.common.AbstractRemoteSignatureServiceImpl
eu.europa.esig.dss.ws.signature.common.RemoteExternalCMSServiceImpl
- All Implemented Interfaces:
RemoteExternalCMSService
,Serializable
public class RemoteExternalCMSServiceImpl
extends AbstractRemoteSignatureServiceImpl
implements RemoteExternalCMSService
WebService for CMS signature creation compatible for PAdES signature creation
(enveloping within /Contents of a PDF signature revision).
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault constructor instantiating object with null RemoteExternalCMSServiceImpl -
Method Summary
Modifier and TypeMethodDescriptiongetDataToSign
(DigestDTO messageDigestDTO, RemoteSignatureParameters parameters) Returns a DTBS (Data To Be Signed) for Signature Value creation.void
setService
(ExternalCMSService service) Sets theExternalCMSService
signMessageDigest
(DigestDTO messageDigestDTO, RemoteSignatureParameters parameters, SignatureValueDTO signatureValueDTO) Creates a CMS signature signing the providedmessageDigest
compliant for PAdES signature enveloping.Methods inherited from class eu.europa.esig.dss.ws.signature.common.AbstractRemoteSignatureServiceImpl
createCounterSignatureParameters, createParameters, fillParameters, getASiCSignatureParameters, getJAdESSignatureParameters, getPAdESSignatureParameters, getXAdESSignatureParameters, toBLevelParameters, toCommitmentTypeList, toSignatureValue, toTimestampParameters, toTimestampParameters
-
Constructor Details
-
RemoteExternalCMSServiceImpl
public RemoteExternalCMSServiceImpl()Default constructor instantiating object with null RemoteExternalCMSServiceImpl
-
-
Method Details
-
setService
Sets theExternalCMSService
- Parameters:
service
-ExternalCMSService
-
getDataToSign
public ToBeSignedDTO getDataToSign(DigestDTO messageDigestDTO, RemoteSignatureParameters parameters) Description copied from interface:RemoteExternalCMSService
Returns a DTBS (Data To Be Signed) for Signature Value creation.- Specified by:
getDataToSign
in interfaceRemoteExternalCMSService
- Parameters:
messageDigestDTO
-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
public RemoteDocument signMessageDigest(DigestDTO messageDigestDTO, RemoteSignatureParameters parameters, SignatureValueDTO signatureValueDTO) Description copied from interface:RemoteExternalCMSService
Creates a CMS signature signing the providedmessageDigest
compliant for PAdES signature enveloping.- Specified by:
signMessageDigest
in interfaceRemoteExternalCMSService
- Parameters:
messageDigestDTO
-DigestDTO
containing message-digest computed on PDF's signature ByteRangeparameters
-RemoteSignatureParameters
set of the signing parameters for CMS signature creationsignatureValueDTO
-SignatureValueDTO
the signature value to incorporate- Returns:
- the CMS signature covering the message-digest for inclusion to a PAdES signature
-