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
ConstructorsConstructorDescriptionEmpty constructorSignOneDocumentDTO(RemoteDocument toSignDocument, RemoteSignatureParameters parameters, SignatureValueDTO signatureValue) Default constructor -
Method Summary
Modifier and TypeMethodDescriptionbooleanGets document to be signedinthashCode()voidsetToSignDocument(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-RemoteDocumentto be signedparameters-RemoteSignatureParameterssignatureValue-SignatureValueDTO
-
-
Method Details
-
getToSignDocument
-
setToSignDocument
Sets document to be signed- Parameters:
toSignDocument-RemoteDocument
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractSignDocumentDTO
-
equals
- Overrides:
equalsin classAbstractSignDocumentDTO
-
toString
-