Interface AdESReportAggregator

All Known Implementing Classes:
DefaultAdESReportAggregator, NullAdESReportAggregator

public interface AdESReportAggregator
The interface for AdES reports aggregator implementations.
  • Method Details

    • startSignatureValidation

      void startSignatureValidation (byte[] signature, String name, Date signingDate)
      Called at the start of a signature validation
      Parameters:
      signature - signature container as a byte[]
      name - signature name
      signingDate - the signing date
    • proofOfExistenceFound

      void proofOfExistenceFound (byte[] timeStampSignature, boolean document)
      Called when a timestamp is encountered
      Parameters:
      timeStampSignature - timestamp container as a byte[]
      document - true when the timestamp is document level, false for a signature timestamp
    • reportSignatureValidationSuccess

      void reportSignatureValidationSuccess()
      Called after a successful validation of the current signature
    • reportSignatureValidationFailure

      void reportSignatureValidationFailure (boolean isInconclusive, String reason)
      Called after signature validation failed for the current signature
      Parameters:
      isInconclusive - true when validation is neither valid nor invalid, false when it is invalid
      reason - the failure reason
    • getReport

      PadesValidationReport getReport()
      Retrieves the generated report
      Returns:
      the generated report