Class ASN1EvidenceRecordAnalyzerFactory
java.lang.Object
eu.europa.esig.dss.evidencerecord.asn1.validation.ASN1EvidenceRecordAnalyzerFactory
- All Implemented Interfaces:
DocumentAnalyzerFactory
,EvidenceRecordAnalyzerFactory
public class ASN1EvidenceRecordAnalyzerFactory
extends Object
implements EvidenceRecordAnalyzerFactory
Loads the relevant validator for an ASN.1 Evidence Record document validation
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(DSSDocument document) This method instantiates aEvidenceRecordAnalyzer
with the given documentboolean
isSupported
(DSSDocument document) This method tests if the current implementation ofEvidenceRecordAnalyzer
supports the given document
-
Constructor Details
-
ASN1EvidenceRecordAnalyzerFactory
public ASN1EvidenceRecordAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:EvidenceRecordAnalyzerFactory
This method tests if the current implementation ofEvidenceRecordAnalyzer
supports the given document- Specified by:
isSupported
in interfaceDocumentAnalyzerFactory
- Specified by:
isSupported
in interfaceEvidenceRecordAnalyzerFactory
- Parameters:
document
- the document to be tested- Returns:
- true, if the
EvidenceRecordAnalyzer
supports the given document
-
create
Description copied from interface:EvidenceRecordAnalyzerFactory
This method instantiates aEvidenceRecordAnalyzer
with the given document- Specified by:
create
in interfaceDocumentAnalyzerFactory
- Specified by:
create
in interfaceEvidenceRecordAnalyzerFactory
- Parameters:
document
- the document to be used for theEvidenceRecordAnalyzer
creation- Returns:
- an instance of
EvidenceRecordAnalyzer
with the document
-