Class EuropeanTrustedListConfigurationFactory

java.lang.Object
com.itextpdf.signatures.validation.EuropeanTrustedListConfigurationFactory

public abstract class EuropeanTrustedListConfigurationFactory extends Object
Abstract factory class for configuring and retrieving European Trusted List configurations. This class provides methods to get and set the factory implementation, as well as abstract methods to retrieve trusted list-related information.
  • Constructor Details

    • EuropeanTrustedListConfigurationFactory

      public EuropeanTrustedListConfigurationFactory()
  • Method Details

    • getFactory

      public static Supplier<EuropeanTrustedListConfigurationFactory> getFactory()
      Retrieves the current factory supplier.
      Returns:
      the current factory supplier
    • setFactory

      public static void setFactory (Supplier<EuropeanTrustedListConfigurationFactory> factory)
      Sets the factory supplier.
      Parameters:
      factory - the new factory supplier to set
      Throws:
      IllegalArgumentException - if the provided factory is null
    • getTrustedListUri

      public abstract String getTrustedListUri()
      Retrieves the URI of the trusted list.
      Returns:
      the trusted list URI
    • getCurrentlySupportedPublication

      public abstract String getCurrentlySupportedPublication()
      Retrieves the currently supported publication of the trusted list.
      Returns:
      the currently supported publication
    • getCertificates

      public abstract List<Certificate> getCertificates()
      Retrieves the list of certificates from the trusted list.
      Returns:
      a list of certificates