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
ConstructorsConstructorDescriptionDefault 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.voidsetService(ExternalCMSService service) Sets theExternalCMSServicesignMessageDigest(DigestDTO messageDigestDTO, RemoteSignatureParameters parameters, SignatureValueDTO signatureValueDTO) Creates a CMS signature signing the providedmessageDigestcompliant 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:RemoteExternalCMSServiceReturns a DTBS (Data To Be Signed) for Signature Value creation.- Specified by:
getDataToSignin interfaceRemoteExternalCMSService- Parameters:
messageDigestDTO-DigestDTOcontaining message-digest computed on PDF's signature ByteRangeparameters-RemoteSignatureParametersset of the signing parameters for CMS signature creation- Returns:
DigestDTOrepresenting the DTBS (Data To Be Signed)
-
signMessageDigest
public RemoteDocument signMessageDigest(DigestDTO messageDigestDTO, RemoteSignatureParameters parameters, SignatureValueDTO signatureValueDTO) Description copied from interface:RemoteExternalCMSServiceCreates a CMS signature signing the providedmessageDigestcompliant for PAdES signature enveloping.- Specified by:
signMessageDigestin interfaceRemoteExternalCMSService- Parameters:
messageDigestDTO-DigestDTOcontaining message-digest computed on PDF's signature ByteRangeparameters-RemoteSignatureParametersset of the signing parameters for CMS signature creationsignatureValueDTO-SignatureValueDTOthe signature value to incorporate- Returns:
- the CMS signature covering the message-digest for inclusion to a PAdES signature
-