Class ASiCWithCAdESFormatDetector

java.lang.Object
eu.europa.esig.dss.asic.cades.ASiCWithCAdESFormatDetector
All Implemented Interfaces:
ASiCFormatDetector

public class ASiCWithCAdESFormatDetector extends Object implements ASiCFormatDetector
This class verifies whether the provided document is a supported container by the dss-asic-cades implementation
  • Constructor Details

    • ASiCWithCAdESFormatDetector

      public ASiCWithCAdESFormatDetector()
      Default constructor
  • Method Details

    • isSupportedZip

      public boolean isSupportedZip(DSSDocument document)
      Description copied from interface: ASiCFormatDetector
      Verifies whether the document is a supported ZIP container by the current implementation
      Specified by:
      isSupportedZip in interface ASiCFormatDetector
      Parameters:
      document - DSSDocument to be analyzed
      Returns:
      TRUE if the document is a supported ZIP container, FALSE otherwise
    • isSupportedASiC

      public boolean isSupportedASiC(DSSDocument document)
      Description copied from interface: ASiCFormatDetector
      Verifies whether the document is a supported ASiC container by the current implementation
      Specified by:
      isSupportedASiC in interface ASiCFormatDetector
      Parameters:
      document - DSSDocument to be analyzed
      Returns:
      TRUE if the document is a supported ASiC container, FALSE otherwise
    • isSupportedZip

      public boolean isSupportedZip(ASiCContent asicContent)
      Description copied from interface: ASiCFormatDetector
      Verifies whether the asicContent is a supported ZIP container by the current implementation
      Specified by:
      isSupportedZip in interface ASiCFormatDetector
      Parameters:
      asicContent - ASiCContent to be analyzed
      Returns:
      TRUE if the ASiCContent is a supported ZIP container, FALSE otherwise
    • isSupportedASiC

      public boolean isSupportedASiC(ASiCContent asicContent)
      Description copied from interface: ASiCFormatDetector
      Verifies whether the asicContent is a supported ASiC container by the current implementation
      Specified by:
      isSupportedASiC in interface ASiCFormatDetector
      Parameters:
      asicContent - ASiCContent to be analyzed
      Returns:
      TRUE if the ASiCContent is a supported ASiC container, FALSE otherwise