Class ASiCContent

java.lang.Object
eu.europa.esig.dss.asic.common.ASiCContent
All Implemented Interfaces:
Serializable

public class ASiCContent extends Object implements Serializable
Contains grouped documents representing an ASiC container's content
See Also:
  • Constructor Details

    • ASiCContent

      public ASiCContent()
      Default constructor instantiating object with null values and empty list of documents
  • Method Details

    • getAsicContainer

      public DSSDocument getAsicContainer()
      Gets the original ASiC container
      Returns:
      DSSDocument
    • setAsicContainer

      public void setAsicContainer(DSSDocument asicContainer)
      Sets the original ASiC container
      Parameters:
      asicContainer - DSSDocument
    • getContainerType

      public ASiCContainerType getContainerType()
      Gets the container type
      Returns:
      ASiCContainerType
    • setContainerType

      public void setContainerType(ASiCContainerType containerType)
      Sets the container type
      Parameters:
      containerType - ASiCContainerType
    • getZipComment

      public String getZipComment()
      Gets the zip comment
      Returns:
      String zip comment
    • setZipComment

      public void setZipComment(String zipComment)
      Sets the zip comment
      Parameters:
      zipComment - String
    • getMimeTypeDocument

      public DSSDocument getMimeTypeDocument()
      Gets mimetype document
      Returns:
      DSSDocument
    • setMimeTypeDocument

      public void setMimeTypeDocument(DSSDocument mimeTypeDocument)
      Sets mimetype document
      Parameters:
      mimeTypeDocument - DSSDocument
    • getSignatureDocuments

      public List<DSSDocument> getSignatureDocuments()
      Gets signature documents
      Returns:
      a list of DSSDocuments
    • setSignatureDocuments

      public void setSignatureDocuments(List<DSSDocument> signatureDocuments)
      Sets signature documents
      Parameters:
      signatureDocuments - a list of DSSDocuments
    • getManifestDocuments

      public List<DSSDocument> getManifestDocuments()
      Gets manifest documents
      Returns:
      a list of DSSDocuments
    • setManifestDocuments

      public void setManifestDocuments(List<DSSDocument> manifestDocuments)
      Sets manifest documents
      Parameters:
      manifestDocuments - a list of DSSDocuments
    • getArchiveManifestDocuments

      public List<DSSDocument> getArchiveManifestDocuments()
      Gets archive manifest documents (ASiC with CAdES only)
      Returns:
      a list of DSSDocuments
    • setArchiveManifestDocuments

      public void setArchiveManifestDocuments(List<DSSDocument> archiveManifestDocuments)
      Sets archive manifest documents (ASiC with CAdES only)
      Parameters:
      archiveManifestDocuments - a list of DSSDocuments
    • getTimestampDocuments

      public List<DSSDocument> getTimestampDocuments()
      Gets timestamp documents (ASiC with CAdES only)
      Returns:
      a list of DSSDocuments
    • setTimestampDocuments

      public void setTimestampDocuments(List<DSSDocument> timestampDocuments)
      Sets timestamp documents (ASiC with CAdES only)
      Parameters:
      timestampDocuments - a list of DSSDocuments
    • getSignedDocuments

      public List<DSSDocument> getSignedDocuments()
      Gets signed documents
      Returns:
      a list of DSSDocuments
    • setSignedDocuments

      public void setSignedDocuments(List<DSSDocument> signedDocuments)
      Sets signed documents
      Parameters:
      signedDocuments - a list of DSSDocuments
    • getUnsupportedDocuments

      public List<DSSDocument> getUnsupportedDocuments()
      Gets unsupported documents
      Returns:
      a list of DSSDocuments
    • setUnsupportedDocuments

      public void setUnsupportedDocuments(List<DSSDocument> unsupportedDocuments)
      Sets unsupported documents
      Parameters:
      unsupportedDocuments - a list of DSSDocuments
    • getFolders

      public List<DSSDocument> getFolders()
      Returns a list of folders present within the container
      Returns:
      a list of DSSDocuments
    • setFolders

      public void setFolders(List<DSSDocument> folders)
      Sets a list of folders present within an archive
      Parameters:
      folders - a list of DSSDocuments
    • getContainerDocuments

      public List<DSSDocument> getContainerDocuments()
      Gets "package.zip" documents
      Returns:
      a list of DSSDocuments
    • setContainerDocuments

      public void setContainerDocuments(List<DSSDocument> containerDocuments)
      Sets package.zip" documents
      Parameters:
      containerDocuments - a list of DSSDocuments
    • getRootLevelSignedDocuments

      public List<DSSDocument> getRootLevelSignedDocuments()
      This method returns a list of documents at the root level within the container
      Returns:
      a list of DSSDocuments
    • getAllManifestDocuments

      public List<DSSDocument> getAllManifestDocuments()
      Returns a list of all found manifest documents
      Returns:
      list of DSSDocuments
    • getAllDocuments

      public List<DSSDocument> getAllDocuments()
      Gets all documents
      Returns:
      a list of DSSDocuments