Package com.digicert.validation.enums
Enum Class LogEvents
- All Implemented Interfaces:
Serializable
,Comparable<LogEvents>
,Constable
Enumeration representing various events that can occur during the validation process.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionLog event indicating a redirect was attempted but the host information was missing.Log event indicating an incorrect port was used during a file validation redirect.Log event indicating an invalid URL was found during a file validation redirect.Log event indicating that the system failed to generate a hash value.Log event indicates that the DNS lookup was unable to find the host or the data returned was not parseable.This log event indicates that the system successfully retrieved the DNS data for a domain.Log event indicating that the DNS server is not configured.Log event indicates that the DNS validation cannot be completed.Log event indicating that the validation request is malformed.Log event indicating that control over the domain was successfully proven.Log event indicating that the response was not parseable or otherwise does not meet with validation requirements.Log event indicating that a connection error occurred with the client.Log event indicating that the file validation cannot be completed.Log event indicating that a response was receivedLog event indicating that control over the FQDN was successfully proven.Log event indicating that the domain is invalid due to its length.Log event indicating that the domain name does not match the regex used to validate the domain name syntax.Reserved labels, which are two alphanumeric characters followed by two hyphens, must follow a specific standards which this domain does not follow.Log event indicating that no properly formatted DNS TXT records containing a contact were found.Log event indicating there an unknown error that occurred during a file validation redirect attempt.Security provider used for calculating hashes was unable to load.Log event indicating a failure in creating the SSL context. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns the lowercase string representation of the event.static LogEvents
Returns the enum constant of this class with the specified name.static LogEvents[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BAD_REDIRECT_NO_HOST
Log event indicating a redirect was attempted but the host information was missing. -
BAD_REDIRECT_URL
Log event indicating an invalid URL was found during a file validation redirect. -
BAD_REDIRECT_PORT
Log event indicating an incorrect port was used during a file validation redirect. Only ports 80 and 443 are allowed. -
REDIRECT_ERROR
Log event indicating there an unknown error that occurred during a file validation redirect attempt. -
CANNOT_GENERATE_HASH
Log event indicating that the system failed to generate a hash value. -
DNS_LOOKUP_SUCCESS
This log event indicates that the system successfully retrieved the DNS data for a domain. -
DNS_LOOKUP_ERROR
Log event indicates that the DNS lookup was unable to find the host or the data returned was not parseable. -
DNS_VALIDATION_FAILED
Log event indicates that the DNS validation cannot be completed. -
DNS_VALIDATION_MALFORMED_REQUEST
Log event indicating that the validation request is malformed. -
DNS_VALIDATION_SUCCESSFUL
Log event indicating that control over the domain was successfully proven. -
DNS_SERVERS_NOT_CONFIGURED
Log event indicating that the DNS server is not configured. -
FILE_VALIDATION_RESPONSE
Log event indicating that a response was received -
FILE_VALIDATION_BAD_RESPONSE
Log event indicating that the response was not parseable or otherwise does not meet with validation requirements. -
FILE_VALIDATION_CLIENT_ERROR
Log event indicating that a connection error occurred with the client. -
FILE_VALIDATION_FAILED
Log event indicating that the file validation cannot be completed. -
FILE_VALIDATION_SUCCESSFUL
Log event indicating that control over the FQDN was successfully proven. -
INVALID_DOMAIN_LENGTH
Log event indicating that the domain is invalid due to its length. (Max 255 characters) -
INVALID_DOMAIN_NAME
Log event indicating that the domain name does not match the regex used to validate the domain name syntax. -
INVALID_RESERVED_LDH_LABEL
Reserved labels, which are two alphanumeric characters followed by two hyphens, must follow a specific standards which this domain does not follow. -
NO_DNS_TXT_CONTACT_FOUND
Log event indicating that no properly formatted DNS TXT records containing a contact were found. -
SECURITY_PROVIDER_LOAD_ERROR
Security provider used for calculating hashes was unable to load. The default token validator will not be usable. -
SSL_CONTEXT_CREATION_ERROR
Log event indicating a failure in creating the SSL context. Should not be reachable and would indicate a Java library mismatch.
-
-
Constructor Details
-
LogEvents
private LogEvents()
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
Returns the lowercase string representation of the event.
-