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
public class SignOneDocumentDTO extends AbstractSignDocumentDTO
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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description SignOneDocumentDTO()
Empty constructorSignOneDocumentDTO(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue)
Default constructor -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
RemoteDocument
getToSignDocument()
Gets document to be signedint
hashCode()
void
setToSignDocument(RemoteDocument toSignDocument)
Sets document to be signedString
toString()
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
-