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
ConstructorsConstructorDescriptionEmpty constructorPDFExternalSignDocumentDTO(eu.europa.esig.dss.ws.dto.RemoteDocument toSignDocument, RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.RemoteDocument cmsDocument) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleaneu.europa.esig.dss.ws.dto.RemoteDocumentGets the CMS signature documentGets the signature creation parameterseu.europa.esig.dss.ws.dto.RemoteDocumentGets the document to be signedinthashCode()voidsetCmsDocument(eu.europa.esig.dss.ws.dto.RemoteDocument cmsDocument) Sets the CMS signature documentvoidsetParameters(RemoteSignatureParameters parameters) Sets the signature creation parametersvoidsetToSignDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toSignDocument) Sets the document to be signedtoString()
-
Constructor Details
-
PDFExternalSignDocumentDTO
public PDFExternalSignDocumentDTO()Empty constructor -
PDFExternalSignDocumentDTO
public PDFExternalSignDocumentDTO(eu.europa.esig.dss.ws.dto.RemoteDocument toSignDocument, RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.RemoteDocument cmsDocument) Default constructor- Parameters:
toSignDocument-RemoteDocumentPDF document to be signedparameters-RemoteSignatureParametersset of driving parameters for PAdES signature creationcmsDocument-RemoteDocumentCMS signature (CMSSignedData)
-
-
Method Details
-
getToSignDocument
public eu.europa.esig.dss.ws.dto.RemoteDocument getToSignDocument()Gets the document to be signed- Returns:
RemoteDocument
-
setToSignDocument
public void setToSignDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toSignDocument) 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
public eu.europa.esig.dss.ws.dto.RemoteDocument getCmsDocument()Gets the CMS signature document- Returns:
RemoteDocument
-
setCmsDocument
public void setCmsDocument(eu.europa.esig.dss.ws.dto.RemoteDocument cmsDocument) Sets the CMS signature document- Parameters:
cmsDocument-RemoteDocument
-
equals
-
hashCode
-
toString
-