Class SoapExternalCMSServiceImpl
java.lang.Object
eu.europa.esig.dss.ws.signature.soap.SoapExternalCMSServiceImpl
- All Implemented Interfaces:
SoapExternalCMSService
,Serializable
SOAP implementation of the remote CMS signature generation suitable for PAdES signature creation
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault construction instantiating object with null SoapExternalCMSServiceImpl -
Method Summary
Modifier and TypeMethodDescriptiongetDataToSign
(DataToSignExternalCmsDTO dataToSign) Returns a DTBS (Data To Be Signed) for Signature Value creation.void
setService
(RemoteExternalCMSService service) Sets the remote service for external CMS creation suitable for PAdES signingsignMessageDigest
(SignMessageDigestExternalCmsDTO signMessageDigest) Creates a CMS signature signing the providedmessageDigest
compliant for PAdES signature enveloping.
-
Constructor Details
-
SoapExternalCMSServiceImpl
public SoapExternalCMSServiceImpl()Default construction instantiating object with null SoapExternalCMSServiceImpl
-
-
Method Details
-
setService
Sets the remote service for external CMS creation suitable for PAdES signing- Parameters:
service
-RemoteExternalCMSService
-
getDataToSign
Description copied from interface:SoapExternalCMSService
Returns a DTBS (Data To Be Signed) for Signature Value creation.- Specified by:
getDataToSign
in interfaceSoapExternalCMSService
- Parameters:
dataToSign
-DataToSignExternalCmsDTO
containing message-digest computed on PDF's signature ByteRange and a set of signature driving parameters- Returns:
ToBeSignedDTO
data to be signed representation
-
signMessageDigest
Description copied from interface:SoapExternalCMSService
Creates a CMS signature signing the providedmessageDigest
compliant for PAdES signature enveloping.- Specified by:
signMessageDigest
in interfaceSoapExternalCMSService
- Parameters:
signMessageDigest
-SignMessageDigestExternalCmsDTO
containing message-digest computed on PDF's signature ByteRange, set of signature driving parameters and a signatureValue computed on DTBS- Returns:
RemoteDocument
representing a CMS signature suitable for PAdES-BASELINE creation
-