Class RemoteDocument

java.lang.Object
eu.europa.esig.dss.ws.dto.RemoteDocument
All Implemented Interfaces:
Serializable

public class RemoteDocument
extends Object
implements Serializable
This class is used to transport a DSSDocument with SOAP and/or REST
See Also:
Serialized Form
  • Constructor Details

    • RemoteDocument

      public RemoteDocument()
    • RemoteDocument

      public RemoteDocument​(byte[] bytes, String name)
      This constructor allows to create a new instance of RemoteDocument with the whole document
      Parameters:
      bytes - the full document binaries
      name - the document name
    • RemoteDocument

      public RemoteDocument​(byte[] bytes, DigestAlgorithm digestAlgorithm, String name)
      This constructor allows to create an instance of RemoteDocument with a digest document
      Parameters:
      bytes - the result of the digest
      digestAlgorithm - the used digest algorithm
      name - the document name
  • Method Details