Package eu.europa.esig.dss.asic.xades
Class ASiCWithXAdESFormatDetector
java.lang.Object
eu.europa.esig.dss.asic.xades.ASiCWithXAdESFormatDetector
- All Implemented Interfaces:
ASiCFormatDetector
This class verifies whether the provided document is a supported container by the dss-asic-xades implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanisSupportedASiC(ASiCContent asicContent) Verifies whether theasicContentis a supported ASiC container by the current implementationbooleanisSupportedASiC(DSSDocument document) Verifies whether thedocumentis a supported ASiC container by the current implementationbooleanisSupportedZip(ASiCContent asicContent) Verifies whether theasicContentis a supported ZIP container by the current implementationbooleanisSupportedZip(DSSDocument document) Verifies whether thedocumentis a supported ZIP container by the current implementation
-
Constructor Details
-
ASiCWithXAdESFormatDetector
public ASiCWithXAdESFormatDetector()Default constructor
-
-
Method Details
-
isSupportedZip
Description copied from interface:ASiCFormatDetectorVerifies whether thedocumentis a supported ZIP container by the current implementation- Specified by:
isSupportedZipin interfaceASiCFormatDetector- Parameters:
document-DSSDocumentto be analyzed- Returns:
- TRUE if the document is a supported ZIP container, FALSE otherwise
-
isSupportedASiC
Description copied from interface:ASiCFormatDetectorVerifies whether thedocumentis a supported ASiC container by the current implementation- Specified by:
isSupportedASiCin interfaceASiCFormatDetector- Parameters:
document-DSSDocumentto be analyzed- Returns:
- TRUE if the document is a supported ASiC container, FALSE otherwise
-
isSupportedZip
Description copied from interface:ASiCFormatDetectorVerifies whether theasicContentis a supported ZIP container by the current implementation- Specified by:
isSupportedZipin interfaceASiCFormatDetector- Parameters:
asicContent-ASiCContentto be analyzed- Returns:
- TRUE if the ASiCContent is a supported ZIP container, FALSE otherwise
-
isSupportedASiC
Description copied from interface:ASiCFormatDetectorVerifies whether theasicContentis a supported ASiC container by the current implementation- Specified by:
isSupportedASiCin interfaceASiCFormatDetector- Parameters:
asicContent-ASiCContentto be analyzed- Returns:
- TRUE if the ASiCContent is a supported ASiC container, FALSE otherwise
-