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 TypeMethodDescriptioneu.europa.esig.dss.ws.dto.ToBeSignedDTOgetDataToSign(eu.europa.esig.dss.ws.dto.DigestDTO messageDigestDTO, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters) Returns a DTBS (Data To Be Signed) for Signature Value creation.voidsetService(eu.europa.esig.dss.pades.signature.ExternalCMSService service) Sets theExternalCMSServiceeu.europa.esig.dss.ws.dto.RemoteDocumentsignMessageDigest(eu.europa.esig.dss.ws.dto.DigestDTO messageDigestDTO, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValueDTO) Creates a CMS signature signing the providedmessageDigestcompliant for PAdES signature enveloping.Methods inherited from class AbstractRemoteSignatureServiceImpl
createCounterSignatureParameters, createParameters, fillParameters, getASiCSignatureParameters, getExtensionParameters, getJAdESSignatureParameters, getPAdESSignatureParameters, getSignatureParameters, getXAdESSignatureParameters, toBLevelParameters, toCommitmentTypeList, toSignatureValue, toTimestampParameters, toTimestampParameters
-
Constructor Details
-
RemoteExternalCMSServiceImpl
public RemoteExternalCMSServiceImpl()Default constructor instantiating object with null RemoteExternalCMSServiceImpl
-
-
Method Details
-
setService
public void setService(eu.europa.esig.dss.pades.signature.ExternalCMSService service) Sets theExternalCMSService- Parameters:
service-ExternalCMSService
-
getDataToSign
public eu.europa.esig.dss.ws.dto.ToBeSignedDTO getDataToSign(eu.europa.esig.dss.ws.dto.DigestDTO messageDigestDTO, eu.europa.esig.dss.ws.signature.dto.parameters.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 eu.europa.esig.dss.ws.dto.RemoteDocument signMessageDigest(eu.europa.esig.dss.ws.dto.DigestDTO messageDigestDTO, eu.europa.esig.dss.ws.signature.dto.parameters.RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.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
-