Class EuropeanTrustedListConfigurationFactory
java.lang.Object
com.itextpdf.signatures.validation.EuropeanTrustedListConfigurationFactory
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionabstract List<Certificate>
Retrieves the list of certificates from the trusted list.abstract String
Retrieves the currently supported publication of the trusted list.Retrieves the current factory supplier.abstract String
Retrieves the URI of the trusted list.static void
Sets the factory supplier.
-
Constructor Details
-
EuropeanTrustedListConfigurationFactory
public EuropeanTrustedListConfigurationFactory()
-
-
Method Details
-
getFactory
Retrieves the current factory supplier.- Returns:
- the current factory supplier
-
setFactory
Sets the factory supplier.- Parameters:
-
factory
- the new factory supplier to set - Throws:
-
IllegalArgumentException
- if the provided factory is null
-
getTrustedListUri
Retrieves the URI of the trusted list.- Returns:
- the trusted list URI
-
getCurrentlySupportedPublication
Retrieves the currently supported publication of the trusted list.- Returns:
- the currently supported publication
-
getCertificates
Retrieves the list of certificates from the trusted list.- Returns:
- a list of certificates
-