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
ConstructorsConstructorDescriptionDefault construction instantiating object with null SoapExternalCMSServiceImpl -
Method Summary
Modifier and TypeMethodDescriptiongetDataToSign(DataToSignExternalCmsDTO dataToSign) Returns a DTBS (Data To Be Signed) for Signature Value creation.voidsetService(RemoteExternalCMSService service) Sets the remote service for external CMS creation suitable for PAdES signingsignMessageDigest(SignMessageDigestExternalCmsDTO signMessageDigest) Creates a CMS signature signing the providedmessageDigestcompliant 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:SoapExternalCMSServiceReturns a DTBS (Data To Be Signed) for Signature Value creation.- Specified by:
getDataToSignin interfaceSoapExternalCMSService- Parameters:
dataToSign-DataToSignExternalCmsDTOcontaining message-digest computed on PDF's signature ByteRange and a set of signature driving parameters- Returns:
ToBeSignedDTOdata to be signed representation
-
signMessageDigest
Description copied from interface:SoapExternalCMSServiceCreates a CMS signature signing the providedmessageDigestcompliant for PAdES signature enveloping.- Specified by:
signMessageDigestin interfaceSoapExternalCMSService- Parameters:
signMessageDigest-SignMessageDigestExternalCmsDTOcontaining message-digest computed on PDF's signature ByteRange, set of signature driving parameters and a signatureValue computed on DTBS- Returns:
RemoteDocumentrepresenting a CMS signature suitable for PAdES-BASELINE creation
-