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 booleanequals(Object obj)RemoteDocumentgetToSignDocument()Gets document to be signedinthashCode()voidsetToSignDocument(RemoteDocument toSignDocument)Sets document to be signedStringtoString()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
Gets document to be signed- Returns:
RemoteDocument
-
setToSignDocument
Sets document to be signed- Parameters:
toSignDocument-RemoteDocument
-
hashCode
public int hashCode()- Overrides:
hashCodein classAbstractSignDocumentDTO
-
equals
- Overrides:
equalsin classAbstractSignDocumentDTO
-
toString
-