Class SignatureValidationFailureEvent

java.lang.Object
com.itextpdf.signatures.validation.events.SignatureValidationFailureEvent
All Implemented Interfaces:
IEvent, IValidationEvent

public class SignatureValidationFailureEvent extends Object implements IValidationEvent
This event is triggered after signature validation failed for the current signature.
  • Constructor Details

    • SignatureValidationFailureEvent

      public SignatureValidationFailureEvent (boolean isInconclusive, String reason)
      Create a new event instance.
      Parameters:
      isInconclusive - true when validation is neither valid nor invalid, false when it is invalid
      reason - the failure reason
  • Method Details

    • isInconclusive

      public boolean isInconclusive()
      Returns whether the result was inconclusive.
      Returns:
      whether the result was inconclusive
    • getReason

      public String getReason()
      Returns the reason of the failure.
      Returns:
      the reason of the failure
    • getEventType

      public EventType getEventType()
      Returns the event type of the event, this fields is used to avoid instanceof usage.
      Specified by:
      getEventType in interface IValidationEvent
      Returns:
      the event type of the event