Package eu.europa.esig.dss.asic.cades
Class ASiCWithCAdESFormatDetector
java.lang.Object
eu.europa.esig.dss.asic.cades.ASiCWithCAdESFormatDetector
- All Implemented Interfaces:
ASiCFormatDetector
This class verifies whether the provided document is a supported container by the dss-asic-cades implementation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
isSupportedASiC
(ASiCContent asicContent) Verifies whether theasicContent
is a supported ASiC container by the current implementationboolean
isSupportedASiC
(DSSDocument document) Verifies whether thedocument
is a supported ASiC container by the current implementationboolean
isSupportedZip
(ASiCContent asicContent) Verifies whether theasicContent
is a supported ZIP container by the current implementationboolean
isSupportedZip
(DSSDocument document) Verifies whether thedocument
is a supported ZIP container by the current implementation
-
Constructor Details
-
ASiCWithCAdESFormatDetector
public ASiCWithCAdESFormatDetector()Default constructor
-
-
Method Details
-
isSupportedZip
Description copied from interface:ASiCFormatDetector
Verifies whether thedocument
is a supported ZIP container by the current implementation- Specified by:
isSupportedZip
in interfaceASiCFormatDetector
- Parameters:
document
-DSSDocument
to be analyzed- Returns:
- TRUE if the document is a supported ZIP container, FALSE otherwise
-
isSupportedASiC
Description copied from interface:ASiCFormatDetector
Verifies whether thedocument
is a supported ASiC container by the current implementation- Specified by:
isSupportedASiC
in interfaceASiCFormatDetector
- Parameters:
document
-DSSDocument
to be analyzed- Returns:
- TRUE if the document is a supported ASiC container, FALSE otherwise
-
isSupportedZip
Description copied from interface:ASiCFormatDetector
Verifies whether theasicContent
is a supported ZIP container by the current implementation- Specified by:
isSupportedZip
in interfaceASiCFormatDetector
- Parameters:
asicContent
-ASiCContent
to be analyzed- Returns:
- TRUE if the ASiCContent is a supported ZIP container, FALSE otherwise
-
isSupportedASiC
Description copied from interface:ASiCFormatDetector
Verifies whether theasicContent
is a supported ASiC container by the current implementation- Specified by:
isSupportedASiC
in interfaceASiCFormatDetector
- Parameters:
asicContent
-ASiCContent
to be analyzed- Returns:
- TRUE if the ASiCContent is a supported ASiC container, FALSE otherwise
-