Class PivotFetcher.Result

java.lang.Object
com.itextpdf.signatures.validation.lotl.PivotFetcher.Result
All Implemented Interfaces:
IJsonSerializable
Enclosing class:
PivotFetcher

public static class PivotFetcher.Result extends Object implements IJsonSerializable
Result class encapsulates the result of the pivot fetching and validation process.
  • Constructor Details

  • Method Details

    • getLocalReport

      public ValidationReport getLocalReport()
      Gets the local validation report.
      Returns:
      the local ValidationReport
    • setLocalReport

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

      public List<String> getPivotUrls()
      Gets the list of pivot URLs.
      Returns:
      a list of pivot URLs
    • setPivotUrls

      public void setPivotUrls (List<String> pivotsUrlList)
      Gets the list of pivot URLs.
      Parameters:
      pivotsUrlList - a list of pivot URLs
    • generateUniqueIdentifier

      public String generateUniqueIdentifier()
      Generates a unique identifier based on the pivot URLs.
      Returns:
      a string representing the unique identifier
    • toJson

      public JsonValue toJson()
      Serializes object to JSON AST..
      Specified by:
      toJson in interface IJsonSerializable
      Returns:
      JsonValue serialized object
    • fromJson

      public static PivotFetcher.Result fromJson (JsonValue jsonValue)
      Deserializes JsonValue into PivotFetcher.Result.
      Parameters:
      jsonValue - JsonValue to deserialize
      Returns:
      deserialized PivotFetcher.Result