Enum Class EmailSource

java.lang.Object
java.lang.Enum<EmailSource>
com.digicert.validation.methods.email.prepare.EmailSource
All Implemented Interfaces:
Serializable, Comparable<EmailSource>, Constable

public enum EmailSource extends Enum<EmailSource>
Enum representing the possible sources of email addresses for DCV.

The EmailSource enum defines the various sources from which email addresses can be obtained for Domain Control Validation (DCV). Each source corresponds to a specific method outlined in the Baseline Requirements (BR) for the issuance and management of publicly-trusted certificates. These sources are critical in ensuring that the email addresses used for validation are legitimate and verifiable.

See Also:
  • Enum Constant Details

    • WHOIS

      public static final EmailSource WHOIS
      The email addresses are found in the WHOIS record for the domain.

      This source utilizes the WHOIS database to retrieve email addresses associated with the domain. The WHOIS record contains administrative and technical contact information, which can be used to verify domain ownership. This method is specified under BR 3.2.2.4.2 and is a reliable source for obtaining valid email addresses for DCV.

      BR 3.2.2.4.2
    • CONSTRUCTED

      public static final EmailSource CONSTRUCTED
      The email addresses are constructed from the domain name.

      This source generates email addresses by combining common administrative prefixes with the domain name. These constructed email addresses, such as "[email protected]" or "[email protected]", are used to ensure that the domain is properly configured. This method is specified under BR 3.2.2.4.4 and helps in automating the validation process by providing a consistent set of email addresses.

      BR 3.2.2.4.4
    • DNS_TXT

      public static final EmailSource DNS_TXT
      The email addresses are found in a DNS TXT record for the domain.

      This source involves querying the DNS TXT records of the domain to find email addresses. DNS TXT records can contain various types of information, including email addresses for domain validation. This method is specified under BR 3.2.2.4.14 and provides a flexible way to verify domain ownership through DNS configurations.

      BR 3.2.2.4.14
  • Field Details

    • dcvMethod

      private final DcvMethod dcvMethod
      The DcvMethod associated with the email source.

      Each email source is linked to a specific DCV method as defined in the Baseline Requirements. The DcvMethod enum provides a standardized way to reference these methods, ensuring consistency and clarity in the validation process. This association helps in identifying the exact method used for obtaining email addresses for DCV.

  • Constructor Details

    • EmailSource

      private EmailSource(DcvMethod dcvMethod)
      Constructor for EmailSource

      Initializes the EmailSource enum with the corresponding DcvMethod. This constructor ensures that each email source is properly linked to its respective DCV method, facilitating accurate and reliable domain validation.

      Parameters:
      dcvMethod - The DcvMethod associated with the email source.
  • Method Details

    • values

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