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
public class DataToSignOneDocumentDTO extends AbstractDataToSignDTO
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:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description DataToSignOneDocumentDTO()Empty constructorDataToSignOneDocumentDTO(RemoteDocument toSignDocument, RemoteSignatureParameters parameters)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.AbstractDataToSignDTO
getParameters, setParameters
-
Constructor Details
-
DataToSignOneDocumentDTO
public DataToSignOneDocumentDTO()Empty constructor -
DataToSignOneDocumentDTO
public DataToSignOneDocumentDTO(RemoteDocument toSignDocument, RemoteSignatureParameters parameters)Default constructor- Parameters:
toSignDocument-RemoteDocumentto 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:
hashCodein classAbstractDataToSignDTO
-
equals
- Overrides:
equalsin classAbstractDataToSignDTO
-