Class ASiCWithXAdESContainerExtractor

java.lang.Object
eu.europa.esig.dss.asic.common.AbstractASiCContainerExtractor
eu.europa.esig.dss.asic.xades.ASiCWithXAdESContainerExtractor

public class ASiCWithXAdESContainerExtractor extends AbstractASiCContainerExtractor
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

    • isAllowedManifest

      protected boolean isAllowedManifest(String entryName)
      Description copied from class: AbstractASiCContainerExtractor
      Checks if the given String file name represents an allowed manifest name for the current ASiC container format
      Specified by:
      isAllowedManifest in class AbstractASiCContainerExtractor
      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: AbstractASiCContainerExtractor
      Checks if the given String file name represents an allowed archive manifest name for the current ASiC container format
      Specified by:
      isAllowedArchiveManifest in class AbstractASiCContainerExtractor
      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: AbstractASiCContainerExtractor
      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 AbstractASiCContainerExtractor
      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: AbstractASiCContainerExtractor
      Checks if the given String file name represents an allowed signature document name for the current ASiC container format
      Specified by:
      isAllowedSignature in class AbstractASiCContainerExtractor
      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: AbstractASiCContainerExtractor
      Checks if the given String file name represents an allowed timestamp document name for the current ASiC container format
      Specified by:
      isAllowedTimestamp in class AbstractASiCContainerExtractor
      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: AbstractASiCContainerExtractor
      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 AbstractASiCContainerExtractor
      Parameters:
      entryName - String document name to check
      Returns:
      TRUE if the name represents an allowed evidence record document name, FALSE otherwise