Class DocumentPAdESLevelReport

java.lang.Object
com.itextpdf.signatures.validation.report.pades.DocumentPAdESLevelReport

public class DocumentPAdESLevelReport extends Object
This report gathers PAdES level information about all signatures in a document as well as an overall PAdES level.
  • Constructor Details

    • DocumentPAdESLevelReport

      public DocumentPAdESLevelReport()
      Creates a new instance.
  • Method Details

    • addPAdESReport

      public void addPAdESReport (PAdESLevelReport report)
      Adds a signature validation report.
      Parameters:
      report - a signature validation report
    • getDocumentLevel

      public PAdESLevel getDocumentLevel()
      Returns the overall document PAdES level, the lowest level off all signatures.
      Returns:
      the overall document PAdES level
    • getSignatureReport

      public PAdESLevelReport getSignatureReport (String signatureName)
      Returns the individual PAdES level report for a signature by name.
      Parameters:
      signatureName - the signature name to retrieve the report for
      Returns:
      the individual PAdES level report for the signature
    • getSignatureReports

      public Map<String,PAdESLevelReport> getSignatureReports()
      Returns a map for all signatures PAdES reports.
      Returns:
      a map for all signatures PAdES reports
    • toString

      public String toString()
      Overrides:
      toString in class Object