Class PDFExternalSignDocumentDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.PDFExternalSignDocumentDTO
- All Implemented Interfaces:
Serializable
Represents a DataTransferObject containing the required parameters for creation of a PAdES signature by enveloping
the externally provided CMS signature within computed PDF signature revision.
It's only possible to transfer an object by POST and REST.
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorPDFExternalSignDocumentDTO
(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, RemoteDocument cmsDocument) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets the CMS signature documentGets the signature creation parametersGets the document to be signedint
hashCode()
void
setCmsDocument
(RemoteDocument cmsDocument) Sets the CMS signature documentvoid
setParameters
(RemoteSignatureParameters parameters) Sets the signature creation parametersvoid
setToSignDocument
(RemoteDocument toSignDocument) Sets the document to be signedtoString()
-
Constructor Details
-
PDFExternalSignDocumentDTO
public PDFExternalSignDocumentDTO()Empty constructor -
PDFExternalSignDocumentDTO
public PDFExternalSignDocumentDTO(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, RemoteDocument cmsDocument) Default constructor- Parameters:
toSignDocument
-RemoteDocument
PDF document to be signedparameters
-RemoteSignatureParameters
set of driving parameters for PAdES signature creationcmsDocument
-RemoteDocument
CMS signature (CMSSignedData)
-
-
Method Details
-
getToSignDocument
-
setToSignDocument
Sets the document to be signed- Parameters:
toSignDocument
-RemoteDocument
-
getParameters
Gets the signature creation parameters- Returns:
RemoteSignatureParameters
-
setParameters
Sets the signature creation parameters- Parameters:
parameters
-RemoteSignatureParameters
-
getCmsDocument
-
setCmsDocument
Sets the CMS signature document- Parameters:
cmsDocument
-RemoteDocument
-
equals
-
hashCode
-
toString
-