Class SoapPAdESWithExternalCMSServiceImpl
java.lang.Object
eu.europa.esig.dss.ws.signature.soap.SoapPAdESWithExternalCMSServiceImpl
- All Implemented Interfaces:
SoapPAdESWithExternalCMSService
,Serializable
public class SoapPAdESWithExternalCMSServiceImpl
extends Object
implements SoapPAdESWithExternalCMSService
SOAP implementation of the remote PAdES signature with external CMS service
- See Also:
-
Constructor Summary
ConstructorDescriptionDefault construction instantiating object with null SoapPAdESWithExternalCMSServiceImpl -
Method Summary
Modifier and TypeMethodDescriptiongetMessageDigest
(PDFExternalMessageDigestDTO pdfMessageDigest) Creates a signature revision for the provided PDF document according to the defined parameters and returns the message-digest computed on the extracted ByteRange content.void
Sets the remote PAdES signature with external CMS servicesignDocument
(PDFExternalSignDocumentDTO pdfSignDocument) Signs thetoSignDocument
by incorporating the providedcmsSignature
within computed PDF signature revision.
-
Constructor Details
-
SoapPAdESWithExternalCMSServiceImpl
public SoapPAdESWithExternalCMSServiceImpl()Default construction instantiating object with null SoapPAdESWithExternalCMSServiceImpl
-
-
Method Details
-
setService
Sets the remote PAdES signature with external CMS service- Parameters:
service
-RemotePAdESWithExternalCMSService
-
getMessageDigest
Description copied from interface:SoapPAdESWithExternalCMSService
Creates a signature revision for the provided PDF document according to the defined parameters and returns the message-digest computed on the extracted ByteRange content.- Specified by:
getMessageDigest
in interfaceSoapPAdESWithExternalCMSService
- Parameters:
pdfMessageDigest
-PDFExternalMessageDigestDTO
containing a PDF document to be singed and signature parameters- Returns:
DigestDTO
representing message-digest computed on the prepared PDF signature byte range
-
signDocument
Description copied from interface:SoapPAdESWithExternalCMSService
Signs thetoSignDocument
by incorporating the providedcmsSignature
within computed PDF signature revision.- Specified by:
signDocument
in interfaceSoapPAdESWithExternalCMSService
- Parameters:
pdfSignDocument
-PDFExternalSignDocumentDTO
containing a PDF document, set of driven signature creation parameters and a CMS signature document- Returns:
RemoteDocument
representing a PDF signed document embedding the provided CMS signature
-