Class JAdESDocumentValidatorFactory
java.lang.Object
eu.europa.esig.dss.jades.validation.JAdESDocumentValidatorFactory
- All Implemented Interfaces:
DocumentValidatorFactory
public class JAdESDocumentValidatorFactory extends Object implements DocumentValidatorFactory
Loads the relevant Validator to process a given JAdES signature
-
Constructor Summary
Constructors Constructor Description JAdESDocumentValidatorFactory()
-
Method Summary
Modifier and Type Method Description SignedDocumentValidator
create(DSSDocument document)
This methods instantiates aDocumentValidator
with the given documentboolean
isSupported(DSSDocument document)
This method tests if the current implementation ofDocumentValidator
supports the given document
-
Constructor Details
-
JAdESDocumentValidatorFactory
public JAdESDocumentValidatorFactory()
-
-
Method Details
-
isSupported
Description copied from interface:DocumentValidatorFactory
This method tests if the current implementation ofDocumentValidator
supports the given document- Specified by:
isSupported
in interfaceDocumentValidatorFactory
- Parameters:
document
- the document to be tested- Returns:
- true, if the
DocumentValidator
supports the given document
-
create
Description copied from interface:DocumentValidatorFactory
This methods instantiates aDocumentValidator
with the given document- Specified by:
create
in interfaceDocumentValidatorFactory
- Parameters:
document
- the document to be used for theDocumentValidator
creation- Returns:
- an instance of
DocumentValidator
with the document
-