Enum Class LogEvents

java.lang.Object
java.lang.Enum<LogEvents>
com.digicert.validation.enums.LogEvents
All Implemented Interfaces:
Serializable, Comparable<LogEvents>, Constable

public enum LogEvents extends Enum<LogEvents>
Enumeration representing various events that can occur during the validation process.
  • Enum Constant Details

    • BAD_REDIRECT_NO_HOST

      public static final LogEvents BAD_REDIRECT_NO_HOST
      Log event indicating a redirect was attempted but the host information was missing.
    • BAD_REDIRECT_URL

      public static final LogEvents BAD_REDIRECT_URL
      Log event indicating an invalid URL was found during a file validation redirect.
    • BAD_REDIRECT_PORT

      public static final LogEvents 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

      public static final LogEvents REDIRECT_ERROR
      Log event indicating there an unknown error that occurred during a file validation redirect attempt.
    • CANNOT_GENERATE_HASH

      public static final LogEvents CANNOT_GENERATE_HASH
      Log event indicating that the system failed to generate a hash value.
    • DNS_LOOKUP_SUCCESS

      public static final LogEvents DNS_LOOKUP_SUCCESS
      This log event indicates that the system successfully retrieved the DNS data for a domain.
    • DNS_LOOKUP_ERROR

      public static final LogEvents 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

      public static final LogEvents DNS_VALIDATION_FAILED
      Log event indicates that the DNS validation cannot be completed.
    • DNS_VALIDATION_MALFORMED_REQUEST

      public static final LogEvents DNS_VALIDATION_MALFORMED_REQUEST
      Log event indicating that the validation request is malformed.
    • DNS_VALIDATION_SUCCESSFUL

      public static final LogEvents DNS_VALIDATION_SUCCESSFUL
      Log event indicating that control over the domain was successfully proven.
    • DNS_SERVERS_NOT_CONFIGURED

      public static final LogEvents DNS_SERVERS_NOT_CONFIGURED
      Log event indicating that the DNS server is not configured.
    • FILE_VALIDATION_RESPONSE

      public static final LogEvents FILE_VALIDATION_RESPONSE
      Log event indicating that a response was received
    • FILE_VALIDATION_BAD_RESPONSE

      public static final LogEvents 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

      public static final LogEvents FILE_VALIDATION_CLIENT_ERROR
      Log event indicating that a connection error occurred with the client.
    • FILE_VALIDATION_FAILED

      public static final LogEvents FILE_VALIDATION_FAILED
      Log event indicating that the file validation cannot be completed.
    • FILE_VALIDATION_SUCCESSFUL

      public static final LogEvents FILE_VALIDATION_SUCCESSFUL
      Log event indicating that control over the FQDN was successfully proven.
    • INVALID_DOMAIN_LENGTH

      public static final LogEvents INVALID_DOMAIN_LENGTH
      Log event indicating that the domain is invalid due to its length. (Max 255 characters)
    • INVALID_DOMAIN_NAME

      public static final LogEvents 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

      public static final LogEvents 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

      public static final LogEvents NO_DNS_TXT_CONTACT_FOUND
      Log event indicating that no properly formatted DNS TXT records containing a contact were found.
    • SECURITY_PROVIDER_LOAD_ERROR

      public static final LogEvents 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

      public static final LogEvents 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

      public static LogEvents[] 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

      public static LogEvents valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Returns the lowercase string representation of the event.
      Overrides:
      toString in class Enum<LogEvents>
      Returns:
      the string representation of the event