Class SignatureValidationFailureEvent
java.lang.Object
com.itextpdf.signatures.validation.events.SignatureValidationFailureEvent
- All Implemented Interfaces:
-
IEvent,IValidationEvent
This event is triggered after signature validation failed for the current signature.
-
Constructor Summary
ConstructorsConstructorDescriptionSignatureValidationFailureEvent(boolean isInconclusive, String reason) Create a new event instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the event type of the event, this fields is used to avoid instanceof usage.Returns the reason of the failure.booleanReturns whether the result was inconclusive.
-
Constructor Details
-
SignatureValidationFailureEvent
Create a new event instance.- Parameters:
-
isInconclusive-truewhen validation is neither valid nor invalid,falsewhen 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
Returns the reason of the failure.- Returns:
- the reason of the failure
-
getEventType
Returns the event type of the event, this fields is used to avoid instanceof usage.- Specified by:
-
getEventTypein interfaceIValidationEvent - Returns:
- the event type of the event
-