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
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(DSSDocument document) This method instantiates aEvidenceRecordAnalyzerwith the given documentbooleanisSupported(DSSDocument document) This method tests if the current implementation ofEvidenceRecordAnalyzersupports the given document
-
Constructor Details
-
ASN1EvidenceRecordAnalyzerFactory
public ASN1EvidenceRecordAnalyzerFactory()Default constructor
-
-
Method Details
-
isSupported
Description copied from interface:EvidenceRecordAnalyzerFactoryThis method tests if the current implementation ofEvidenceRecordAnalyzersupports the given document- Specified by:
isSupportedin interfaceDocumentAnalyzerFactory- Specified by:
isSupportedin interfaceEvidenceRecordAnalyzerFactory- Parameters:
document- the document to be tested- Returns:
- true, if the
EvidenceRecordAnalyzersupports the given document
-
create
Description copied from interface:EvidenceRecordAnalyzerFactoryThis method instantiates aEvidenceRecordAnalyzerwith the given document- Specified by:
createin interfaceDocumentAnalyzerFactory- Specified by:
createin interfaceEvidenceRecordAnalyzerFactory- Parameters:
document- the document to be used for theEvidenceRecordAnalyzercreation- Returns:
- an instance of
EvidenceRecordAnalyzerwith the document
-