Class NullAdESReportAggregator

java.lang.Object
com.itextpdf.signatures.validation.report.xml.NullAdESReportAggregator
All Implemented Interfaces:
AdESReportAggregator

public class NullAdESReportAggregator extends Object implements AdESReportAggregator
Use this implementation when no xml report has to be created
  • Constructor Details

    • NullAdESReportAggregator

      public NullAdESReportAggregator()
      Creates a new instance of NullAdESReportAggregator.
  • Method Details

    • startSignatureValidation

      public void startSignatureValidation (byte[] signature, String name, Date signingDate)
      Description copied from interface: AdESReportAggregator
      Called at the start of a signature validation
      Specified by:
      startSignatureValidation in interface AdESReportAggregator
      Parameters:
      signature - signature container as a byte[]
      name - signature name
      signingDate - the signing date
    • proofOfExistenceFound

      public void proofOfExistenceFound (byte[] timeStampSignature, boolean document)
      Description copied from interface: AdESReportAggregator
      Called when a timestamp is encountered
      Specified by:
      proofOfExistenceFound in interface AdESReportAggregator
      Parameters:
      timeStampSignature - timestamp container as a byte[]
      document - true when the timestamp is document level, false for a signature timestamp
    • reportSignatureValidationSuccess

      public void reportSignatureValidationSuccess()
      Description copied from interface: AdESReportAggregator
      Called after a successful validation of the current signature
      Specified by:
      reportSignatureValidationSuccess in interface AdESReportAggregator
    • reportSignatureValidationFailure

      public void reportSignatureValidationFailure (boolean isInconclusive, String reason)
      Description copied from interface: AdESReportAggregator
      Called after signature validation failed for the current signature
      Specified by:
      reportSignatureValidationFailure in interface AdESReportAggregator
      Parameters:
      isInconclusive - true when validation is neither valid nor invalid, false when it is invalid
      reason - the failure reason
    • getReport

      public PadesValidationReport getReport()
      Description copied from interface: AdESReportAggregator
      Retrieves the generated report
      Specified by:
      getReport in interface AdESReportAggregator
      Returns:
      the generated report