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)
  • Constructor Details

    • TimestampOneDocumentDTO

      public TimestampOneDocumentDTO()
      Empty constructor
    • TimestampOneDocumentDTO

      public TimestampOneDocumentDTO(eu.europa.esig.dss.ws.dto.RemoteDocument toTimestampDocument, RemoteTimestampParameters timestampParameters)
      Default constructor
      Parameters:
      toTimestampDocument - RemoteDocument to be timestamped
      timestampParameters - RemoteTimestampParameters
  • Method Details

    • getToTimestampDocument

      public eu.europa.esig.dss.ws.dto.RemoteDocument getToTimestampDocument()
      Gets a document to be timestamped
      Returns:
      RemoteDocument
    • setToTimestampDocument

      public void setToTimestampDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toTimestampDocument)
      Sets a document to be timestamped
      Parameters:
      toTimestampDocument - RemoteDocument
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object