Class ASiCContainerWithCAdESAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.asic.cades.validation.ASiCContainerWithCAdESAnalyzerFactory
- All Implemented Interfaces:
DocumentAnalyzerFactory
public class ASiCContainerWithCAdESAnalyzerFactory
extends Object
implements DocumentAnalyzerFactory
This class returns a relevant validator for an ASiC with CAdES container validation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(ASiCContent asicContent) Creates aDocumentAnalyzer
for the givenasicContent
create
(DSSDocument document) This method instantiates aDocumentAnalyzer
with the given documentboolean
isSupported
(ASiCContent asicContent) Verifies whether the providedASiCContent
is supported by the underlying validator's classboolean
isSupported
(DSSDocument document) This method tests if the current implementation ofDocumentAnalyzer
supports the given document
-
Constructor Details
-
ASiCContainerWithCAdESAnalyzerFactory
public ASiCContainerWithCAdESAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:DocumentAnalyzerFactory
This method tests if the current implementation ofDocumentAnalyzer
supports the given document- Specified by:
isSupported
in interfaceDocumentAnalyzerFactory
- Parameters:
document
- the document to be tested- Returns:
- true, if the
DocumentAnalyzer
supports the given document
-
isSupported
Verifies whether the providedASiCContent
is supported by the underlying validator's class- Parameters:
asicContent
-ASiCContent
- Returns:
- TRUE if the ASiC Content is supported, FALSE otherwise
-
create
Description copied from interface:DocumentAnalyzerFactory
This method instantiates aDocumentAnalyzer
with the given document- Specified by:
create
in interfaceDocumentAnalyzerFactory
- Parameters:
document
- the document to be used for theDocumentAnalyzer
creation- Returns:
- an instance of
DocumentAnalyzer
with the document
-
create
Creates aDocumentAnalyzer
for the givenasicContent
- Parameters:
asicContent
-ASiCContent
to be validated- Returns:
DocumentAnalyzer
-