Class CertificateChainValidationSuccessEvent

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

public class CertificateChainValidationSuccessEvent extends Object implements IValidationEvent
This event is triggered after certificate chain validation success for the current signature.
  • Constructor Details

    • CertificateChainValidationSuccessEvent

      public CertificateChainValidationSuccessEvent (X509Certificate certificate)
      Creates a new event instance.
      Parameters:
      certificate - the certificate that was tested
  • Method Details

    • getCertificate

      public X509Certificate getCertificate()
      returns the validated certificate.
      Returns:
      the validated certificate
    • 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