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

  • Method Details

    • getToTimestampDocument

      public RemoteDocument getToTimestampDocument()
      Gets a document to be timestamped
      Returns:
      RemoteDocument
    • setToTimestampDocument

      public void setToTimestampDocument​(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