Class DataToSignOneDocumentDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.AbstractDataToSignDTO
eu.europa.esig.dss.ws.signature.dto.DataToSignOneDocumentDTO
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PDFExternalMessageDigestDTO
This class is a DTO to transfer required objects to execute getDataToSign method
It's only possible to transfer an object by POST and REST.
It's impossible to transfer big objects by GET (url size limitation)
- See Also:
-
Constructor Summary
ConstructorDescriptionEmpty constructorDataToSignOneDocumentDTO
(RemoteDocument toSignDocument, RemoteSignatureParameters parameters) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionboolean
Gets document to be signedint
hashCode()
void
setToSignDocument
(RemoteDocument toSignDocument) Sets document to be signedtoString()
Methods inherited from class eu.europa.esig.dss.ws.signature.dto.AbstractDataToSignDTO
getParameters, setParameters
-
Constructor Details
-
DataToSignOneDocumentDTO
public DataToSignOneDocumentDTO()Empty constructor -
DataToSignOneDocumentDTO
public DataToSignOneDocumentDTO(RemoteDocument toSignDocument, RemoteSignatureParameters parameters) Default constructor- Parameters:
toSignDocument
-RemoteDocument
to be signedparameters
-RemoteSignatureParameters
-
-
Method Details
-
getToSignDocument
Gets document to be signed- Returns:
RemoteDocument
-
setToSignDocument
Sets document to be signed- Parameters:
toSignDocument
-RemoteDocument
-
toString
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractDataToSignDTO
-
equals
- Overrides:
equals
in classAbstractDataToSignDTO
-