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
ConstructorsConstructorDescriptionDefault 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.voidSets the remote PAdES signature with external CMS servicesignDocument(PDFExternalSignDocumentDTO pdfSignDocument) Signs thetoSignDocumentby incorporating the providedcmsSignaturewithin 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:SoapPAdESWithExternalCMSServiceCreates 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:
getMessageDigestin interfaceSoapPAdESWithExternalCMSService- Parameters:
pdfMessageDigest-PDFExternalMessageDigestDTOcontaining a PDF document to be singed and signature parameters- Returns:
DigestDTOrepresenting message-digest computed on the prepared PDF signature byte range
-
signDocument
Description copied from interface:SoapPAdESWithExternalCMSServiceSigns thetoSignDocumentby incorporating the providedcmsSignaturewithin computed PDF signature revision.- Specified by:
signDocumentin interfaceSoapPAdESWithExternalCMSService- Parameters:
pdfSignDocument-PDFExternalSignDocumentDTOcontaining a PDF document, set of driven signature creation parameters and a CMS signature document- Returns:
RemoteDocumentrepresenting a PDF signed document embedding the provided CMS signature
-