Class RemoteDocumentConverter

java.lang.Object
eu.europa.esig.dss.ws.converter.RemoteDocumentConverter

public class RemoteDocumentConverter extends Object
Contains utils to convert DSSDocument to RemoteDocument and vice versa
  • Method Details

    • toDSSDocuments

      public static List<eu.europa.esig.dss.model.DSSDocument> toDSSDocuments(List<RemoteDocument> remoteDocuments)
      Converts the given list of remoteDocuments to a list of DSSDocuments
      Parameters:
      remoteDocuments - list of RemoteDocuments
      Returns:
      list of DSSDocuments
    • toDSSDocument

      public static eu.europa.esig.dss.model.DSSDocument toDSSDocument(RemoteDocument remoteDocument)
      Converts the given RemoteDocument to a DSSDocument
      Parameters:
      remoteDocument - RemoteDocument to convert
      Returns:
      DSSDocument
    • toRemoteDocuments

      public static List<RemoteDocument> toRemoteDocuments(List<eu.europa.esig.dss.model.DSSDocument> originalDocuments)
      Converts the given list of originalDocuments to a list of RemoteDocuments
      Parameters:
      originalDocuments - list of DSSDocuments
      Returns:
      list of RemoteDocuments
    • toRemoteDocument

      public static RemoteDocument toRemoteDocument(eu.europa.esig.dss.model.DSSDocument originalDocument)
      Converts the given DSSDocument to a RemoteDocument
      Parameters:
      originalDocument - DSSDocument to convert
      Returns:
      RemoteDocument