Class SignOneDocumentDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.AbstractSignDocumentDTO
eu.europa.esig.dss.ws.signature.dto.SignOneDocumentDTO
- All Implemented Interfaces:
Serializable
This class is a DTO to transfer required objects to execute signDocument 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 constructorSignOneDocumentDTO
(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) 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.AbstractSignDocumentDTO
getParameters, getSignatureValue, setParameters, setSignatureValue
-
Constructor Details
-
SignOneDocumentDTO
public SignOneDocumentDTO()Empty constructor -
SignOneDocumentDTO
public SignOneDocumentDTO(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) Default constructor- Parameters:
toSignDocument
-RemoteDocument
to be signedparameters
-RemoteSignatureParameters
signatureValue
-SignatureValueDTO
-
-
Method Details
-
getToSignDocument
Gets document to be signed- Returns:
RemoteDocument
-
setToSignDocument
Sets document to be signed- Parameters:
toSignDocument
-RemoteDocument
-
hashCode
public int hashCode()- Overrides:
hashCode
in classAbstractSignDocumentDTO
-
equals
- Overrides:
equals
in classAbstractSignDocumentDTO
-
toString
-