Class CountrySpecificLotlFetcher.Result

java.lang.Object
com.itextpdf.signatures.validation.lotl.CountrySpecificLotlFetcher.Result
Enclosing class:
CountrySpecificLotlFetcher

public static class CountrySpecificLotlFetcher.Result extends Object
Represents the result of fetching and validating country-specific Lotls.
  • Constructor Details

    • Result

      public Result()
      Constructs a new Result object. Initializes the report items list, local report, and contexts list.
  • Method Details

    • getLocalReport

      public ValidationReport getLocalReport()
      Gets the local validation report.
      Returns:
      the ValidationReport object containing the results of local validation
    • setLocalReport

      public void setLocalReport (ValidationReport localReport)
      Sets the local validation report.
      Parameters:
      localReport - the ValidationReport object to set
    • getContexts

      public List<IServiceContext> getContexts()
      Gets the list of service contexts associated with the country-specific Lotl.
      Returns:
      a list of IServiceContext objects representing the service contexts
    • setContexts

      public void setContexts (List<IServiceContext> contexts)
      Sets the list of service contexts associated with the country-specific Lotl.
      Parameters:
      contexts - a list of IServiceContext objects to set
    • getCountrySpecificLotl

      public CountrySpecificLotl getCountrySpecificLotl()
      Gets the country-specific Lotl that was fetched and validated.
      Returns:
      the CountrySpecificLotl object representing the country-specific Lotl
    • setCountrySpecificLotl

      public CountrySpecificLotlFetcher.Result setCountrySpecificLotl (CountrySpecificLotl countrySpecificLotl)
      Sets the country-specific Lotl that was fetched and validated.
      Parameters:
      countrySpecificLotl - the CountrySpecificLotl object to set
      Returns:
      same result instance.
    • createUniqueIdentifier

      public String createUniqueIdentifier()
      Creates a unique identifier for the country-specific Lotl based on its scheme territory and TSL location.
      Returns:
      a string representing the unique identifier for the country-specific Lotl