Class PivotFetcher

java.lang.Object
com.itextpdf.signatures.validation.lotl.PivotFetcher

public class PivotFetcher extends Object
This class fetches and validates pivot files from a List of Trusted Lists (Lotl) XML.
  • Constructor Details

    • PivotFetcher

      public PivotFetcher (LotlService service)
      Constructs a PivotFetcher with the specified LotlService and ValidatorChainBuilder.
      Parameters:
      service - the LotlService used to retrieve resources
  • Method Details

    • downloadAndValidatePivotFiles

      public PivotFetcher.Result downloadAndValidatePivotFiles (byte[] lotlXml, List<Certificate> certificates)
      Fetches and validates pivot files from the provided Lotl XML.
      Parameters:
      lotlXml - the byte array of the Lotl XML
      certificates - the list of trusted certificates
      Returns:
      a Result object containing the validation result and report items