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(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, RemoteDocument cmsDocument) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets the CMS signature documentGets the signature creation parametersGets the document to be signedinthashCode()voidsetCmsDocument(RemoteDocument cmsDocument) Sets the CMS signature documentvoidsetParameters(RemoteSignatureParameters parameters) Sets the signature creation parametersvoidsetToSignDocument(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-RemoteDocumentPDF document to be signedparameters-RemoteSignatureParametersset of driving parameters for PAdES signature creationcmsDocument-RemoteDocumentCMS 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
-