Enum EventType
- All Implemented Interfaces:
-
Serializable,Comparable<EventType>,java.lang.constant.Constable
This enumeration alleviates the need for instanceof on all IValidationEvents.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvent triggered for every algorithm being used during signature validation.Event triggered when the certificate chain validated failed.Event triggered when the certificate chain was validated successfully.Event triggered for every certificate issuer that is retrieved via Authority Information Access extension, or any other external source.Event triggered for every certificate issuer available in the document that was not in the most recent DSS.Event triggered when a certificate is revoked by a CRL response.Event triggered when a certificate is proven not te be revoked by a CRL response.Event triggered when the most recent DSS has been processed.Event triggered when revocation data from a timestamped DSS is not enough to perform signature validation.Event triggered when a certificate is revoked by a OCSP response.Event triggered when a certificate is proven not te be revoked by a OCSP response.Event triggered for every timestamp validation started.Event triggered when revocation data coming not from the latest DSS is needed to perform signature validation.Event triggered for every validation failure, including timestamp validation.Event triggered for every signature validation being started.Event triggered for every validation success, including timestamp validation. -
Method Summary
-
Enum Constant Details
-
SIGNATURE_VALIDATION_STARTED
Event triggered for every signature validation being started. -
SIGNATURE_VALIDATION_SUCCESS
Event triggered for every validation success, including timestamp validation. -
SIGNATURE_VALIDATION_FAILURE
Event triggered for every validation failure, including timestamp validation. -
PROOF_OF_EXISTENCE_FOUND
Event triggered for every timestamp validation started. -
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
Event triggered for every certificate issuer available in the document that was not in the most recent DSS. -
REVOCATION_NOT_FROM_DSS
Event triggered when revocation data coming not from the latest DSS is needed to perform signature validation. -
DSS_NOT_TIMESTAMPED
Event triggered when revocation data from a timestamped DSS is not enough to perform signature validation. -
DSS_ENTRY_PROCESSED
Event triggered when the most recent DSS has been processed. -
CERTIFICATE_CHAIN_SUCCESS
Event triggered when the certificate chain was validated successfully. -
CERTIFICATE_CHAIN_FAILURE
Event triggered when the certificate chain validated failed. -
CRL_VALIDATION_SUCCESS
Event triggered when a certificate is proven not te be revoked by a CRL response. -
CRL_VALIDATION_FAILURE
Event triggered when a certificate is revoked by a CRL response. -
OCSP_VALIDATION_SUCCESS
Event triggered when a certificate is proven not te be revoked by a OCSP response. -
OCSP_VALIDATION_FAILURE
Event triggered when a certificate is revoked by a OCSP response. -
ALGORITHM_USAGE
Event triggered for every algorithm being used during signature validation.
-
-
Method Details
-
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
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
-