Interface DocumentValidatorFactory

All Known Implementing Classes:
DetachedTimestampValidatorFactory

public interface DocumentValidatorFactory
This interface defines the factory to create a DocumentValidator for a given DSSDocument
  • Method Summary

    Modifier and Type
    Method
    Description
    create(eu.europa.esig.dss.model.DSSDocument document)
    This method instantiates a DocumentValidator with the given document
    boolean
    isSupported(eu.europa.esig.dss.model.DSSDocument document)
    This method tests if the current implementation of DocumentValidator supports the given document
  • Method Details

    • isSupported

      boolean isSupported(eu.europa.esig.dss.model.DSSDocument document)
      This method tests if the current implementation of DocumentValidator supports the given document
      Parameters:
      document - the document to be tested
      Returns:
      true, if the DocumentValidator supports the given document
    • create

      SignedDocumentValidator create(eu.europa.esig.dss.model.DSSDocument document)
      This method instantiates a DocumentValidator with the given document
      Parameters:
      document - the document to be used for the DocumentValidator creation
      Returns:
      an instance of DocumentValidator with the document