Class ASiCContainerWithCAdESAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.asic.cades.validation.ASiCContainerWithCAdESAnalyzerFactory
This class returns a relevant validator for an ASiC with CAdES container validation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioneu.europa.esig.dss.spi.validation.analyzer.DocumentAnalyzercreate(eu.europa.esig.dss.asic.common.ASiCContent asicContent) Creates aDocumentAnalyzerfor the givenasicContenteu.europa.esig.dss.spi.validation.analyzer.DocumentAnalyzercreate(eu.europa.esig.dss.model.DSSDocument document) booleanisSupported(eu.europa.esig.dss.asic.common.ASiCContent asicContent) Verifies whether the providedASiCContentis supported by the underlying validator's classbooleanisSupported(eu.europa.esig.dss.model.DSSDocument document)
-
Constructor Details
-
ASiCContainerWithCAdESAnalyzerFactory
public ASiCContainerWithCAdESAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
public boolean isSupported(eu.europa.esig.dss.model.DSSDocument document) -
isSupported
public boolean isSupported(eu.europa.esig.dss.asic.common.ASiCContent asicContent) Verifies whether the providedASiCContentis supported by the underlying validator's class- Parameters:
asicContent-ASiCContent- Returns:
- TRUE if the ASiC Content is supported, FALSE otherwise
-
create
public eu.europa.esig.dss.spi.validation.analyzer.DocumentAnalyzer create(eu.europa.esig.dss.model.DSSDocument document) -
create
public eu.europa.esig.dss.spi.validation.analyzer.DocumentAnalyzer create(eu.europa.esig.dss.asic.common.ASiCContent asicContent) Creates aDocumentAnalyzerfor the givenasicContent- Parameters:
asicContent-ASiCContentto be validated- Returns:
DocumentAnalyzer
-