java.lang.Object
java.lang.Enum<EventType>
com.itextpdf.signatures.validation.events.EventType
All Implemented Interfaces:
Serializable, Comparable<EventType>, java.lang.constant.Constable

public enum EventType extends Enum<EventType>
This enumeration alleviates the need for instanceof on all IValidationEvents.
  • Enum Constant Details

    • SIGNATURE_VALIDATION_STARTED

      public static final EventType SIGNATURE_VALIDATION_STARTED
      Event triggered for every signature validation being started.
    • SIGNATURE_VALIDATION_SUCCESS

      public static final EventType SIGNATURE_VALIDATION_SUCCESS
      Event triggered for every validation success, including timestamp validation.
    • SIGNATURE_VALIDATION_FAILURE

      public static final EventType SIGNATURE_VALIDATION_FAILURE
      Event triggered for every validation failure, including timestamp validation.
    • PROOF_OF_EXISTENCE_FOUND

      public static final EventType PROOF_OF_EXISTENCE_FOUND
      Event triggered for every timestamp validation started.
    • CERTIFICATE_ISSUER_NOT_FROM_DOCUMENT

      public static final EventType CERTIFICATE_ISSUER_NOT_FROM_DOCUMENT
      Event triggered for every certificate issuer that is retrieved via Authority Information Access extension, or any other external source.
    • CERTIFICATE_ISSUER_NOT_FROM_DSS

      public static final EventType CERTIFICATE_ISSUER_NOT_FROM_DSS
      Event triggered for every certificate issuer available in the document that was not in the most recent DSS.
    • REVOCATION_NOT_FROM_DSS

      public static final EventType REVOCATION_NOT_FROM_DSS
      Event triggered when revocation data coming not from the latest DSS is needed to perform signature validation.
    • DSS_NOT_TIMESTAMPED

      public static final EventType DSS_NOT_TIMESTAMPED
      Event triggered when revocation data from a timestamped DSS is not enough to perform signature validation.
    • DSS_ENTRY_PROCESSED

      public static final EventType DSS_ENTRY_PROCESSED
      Event triggered when the most recent DSS has been processed.
    • CERTIFICATE_CHAIN_SUCCESS

      public static final EventType CERTIFICATE_CHAIN_SUCCESS
      Event triggered when the certificate chain was validated successfully.
    • CERTIFICATE_CHAIN_FAILURE

      public static final EventType CERTIFICATE_CHAIN_FAILURE
      Event triggered when the certificate chain validated failed.
    • CRL_VALIDATION_SUCCESS

      public static final EventType CRL_VALIDATION_SUCCESS
      Event triggered when a certificate is proven not te be revoked by a CRL response.
    • CRL_VALIDATION_FAILURE

      public static final EventType CRL_VALIDATION_FAILURE
      Event triggered when a certificate is revoked by a CRL response.
    • OCSP_VALIDATION_SUCCESS

      public static final EventType OCSP_VALIDATION_SUCCESS
      Event triggered when a certificate is proven not te be revoked by a OCSP response.
    • OCSP_VALIDATION_FAILURE

      public static final EventType OCSP_VALIDATION_FAILURE
      Event triggered when a certificate is revoked by a OCSP response.
    • ALGORITHM_USAGE

      public static final EventType ALGORITHM_USAGE
      Event triggered for every algorithm being used during signature validation.
  • Method Details

    • values

      public static EventType[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static EventType valueOf (String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null