Class ASiCWithXAdESContainerExtractor

java.lang.Object
eu.europa.esig.dss.asic.common.extract.DefaultASiCContainerExtractor
eu.europa.esig.dss.asic.xades.extract.ASiCWithXAdESContainerExtractor
All Implemented Interfaces:
ASiCContainerExtractor

public class ASiCWithXAdESContainerExtractor extends DefaultASiCContainerExtractor
The class is used to extract the content (documents) embedded into an ASiC with XAdES container
  • Constructor Details

    • ASiCWithXAdESContainerExtractor

      public ASiCWithXAdESContainerExtractor(DSSDocument archive)
      The default constructor
      Parameters:
      archive - DSSDocument representing the container
  • Method Details

    • isSupportedContainerFormat

      public boolean isSupportedContainerFormat()
      Description copied from interface: ASiCContainerExtractor
      Verifies whether the container format is supported by the current implementation
      Returns:
      TRUE if the container format is valid and supported, FALSE otherwise
    • isAllowedManifest

      protected boolean isAllowedManifest(String entryName)
      Description copied from class: DefaultASiCContainerExtractor
      Checks if the given String file name represents an allowed manifest name for the current ASiC container format
      Specified by:
      isAllowedManifest in class DefaultASiCContainerExtractor
      Parameters:
      entryName - String document name to check
      Returns:
      TRUE if the name represents an allowed manifest document name, FALSE otherwise
    • isAllowedArchiveManifest

      protected boolean isAllowedArchiveManifest(String entryName)
      Description copied from class: DefaultASiCContainerExtractor
      Checks if the given String file name represents an allowed archive manifest name for the current ASiC container format
      Specified by:
      isAllowedArchiveManifest in class DefaultASiCContainerExtractor
      Parameters:
      entryName - String document name to check
      Returns:
      TRUE if the name represents an allowed archive manifest document name, FALSE otherwise
    • isAllowedEvidenceRecordManifest

      protected boolean isAllowedEvidenceRecordManifest(String entryName)
      Description copied from class: DefaultASiCContainerExtractor
      Checks if the given String file name represents an allowed evidence record manifest name for the current ASiC container format
      Specified by:
      isAllowedEvidenceRecordManifest in class DefaultASiCContainerExtractor
      Parameters:
      entryName - String document name to check
      Returns:
      TRUE if the name represents an allowed evidence record manifest document name, FALSE otherwise
    • isAllowedSignature

      protected boolean isAllowedSignature(String entryName)
      Description copied from class: DefaultASiCContainerExtractor
      Checks if the given String file name represents an allowed signature document name for the current ASiC container format
      Specified by:
      isAllowedSignature in class DefaultASiCContainerExtractor
      Parameters:
      entryName - String document name to check
      Returns:
      TRUE if the name represents an allowed signature document name, FALSE otherwise
    • isAllowedTimestamp

      protected boolean isAllowedTimestamp(String entryName)
      Description copied from class: DefaultASiCContainerExtractor
      Checks if the given String file name represents an allowed timestamp document name for the current ASiC container format
      Specified by:
      isAllowedTimestamp in class DefaultASiCContainerExtractor
      Parameters:
      entryName - String document name to check
      Returns:
      TRUE if the name represents an allowed timestamp document name, FALSE otherwise
    • isAllowedEvidenceRecord

      protected boolean isAllowedEvidenceRecord(String entryName)
      Description copied from class: DefaultASiCContainerExtractor
      Checks if the given String file name represents an allowed evidence record document name for the current ASiC container format
      Specified by:
      isAllowedEvidenceRecord in class DefaultASiCContainerExtractor
      Parameters:
      entryName - String document name to check
      Returns:
      TRUE if the name represents an allowed evidence record document name, FALSE otherwise