Class TimestampOneDocumentDTO
java.lang.Object
eu.europa.esig.dss.ws.signature.dto.AbstractTimestampDocumentDTO
eu.europa.esig.dss.ws.signature.dto.TimestampOneDocumentDTO
public class TimestampOneDocumentDTO extends AbstractTimestampDocumentDTO
This class is a DTO that contains a set of parameters needed for a single document timestamping
It's only possible to transfer an object by POST and REST.
It's impossible to transfer big objects by GET (url size limitation)
-
Field Summary
Fields inherited from class eu.europa.esig.dss.ws.signature.dto.AbstractTimestampDocumentDTO
timestampParameters
-
Constructor Summary
Constructors Constructor Description TimestampOneDocumentDTO()
Empty constructorTimestampOneDocumentDTO(RemoteDocument toTimestampDocument, RemoteTimestampParameters timestampParameters)
Default constructor -
Method Summary
Modifier and Type Method Description boolean
equals(Object obj)
RemoteDocument
getToTimestampDocument()
Gets a document to be timestampedint
hashCode()
void
setToTimestampDocument(RemoteDocument toTimestampDocument)
Sets a document to be timestampedString
toString()
Methods inherited from class eu.europa.esig.dss.ws.signature.dto.AbstractTimestampDocumentDTO
getTimestampParameters, setTimestampParameters
-
Constructor Details
-
TimestampOneDocumentDTO
public TimestampOneDocumentDTO()Empty constructor -
TimestampOneDocumentDTO
public TimestampOneDocumentDTO(RemoteDocument toTimestampDocument, RemoteTimestampParameters timestampParameters)Default constructor- Parameters:
toTimestampDocument
-RemoteDocument
to be timestampedtimestampParameters
-RemoteTimestampParameters
-
-
Method Details
-
getToTimestampDocument
Gets a document to be timestamped- Returns:
RemoteDocument
-
setToTimestampDocument
Sets a document to be timestamped- Parameters:
toTimestampDocument
-RemoteDocument
-
hashCode
public int hashCode() -
equals
-
toString
-