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

    • SignOneDocumentDTO

      public SignOneDocumentDTO()
      Empty constructor
    • SignOneDocumentDTO

      public SignOneDocumentDTO(eu.europa.esig.dss.ws.dto.RemoteDocument toSignDocument, RemoteSignatureParameters parameters, eu.europa.esig.dss.ws.dto.SignatureValueDTO signatureValue)
      Default constructor
      Parameters:
      toSignDocument - RemoteDocument to be signed
      parameters - RemoteSignatureParameters
      signatureValue - SignatureValueDTO
  • Method Details

    • getToSignDocument

      public eu.europa.esig.dss.ws.dto.RemoteDocument getToSignDocument()
      Gets document to be signed
      Returns:
      RemoteDocument
    • setToSignDocument

      public void setToSignDocument(eu.europa.esig.dss.ws.dto.RemoteDocument toSignDocument)
      Sets document to be signed
      Parameters:
      toSignDocument - RemoteDocument
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object