Enum Class DcvMethod

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

public enum DcvMethod extends Enum<DcvMethod>
Enum representing the possible domain validation methods.

Brief Description of the DCV Methods:

  • 3.2.2.4.1 -> NOT Allowed
  • 3.2.2.4.2 -> Email (whois)
  • 3.2.2.4.3 -> Phone - NOT Allowed
  • 3.2.2.4.4 -> Email to constructed email address
  • 3.2.2.4.5 -> NOT Allowed
  • 3.2.2.4.6 -> NOT Allowed
  • 3.2.2.4.7 - DNS Change
  • 3.2.2.4.8 -> IP Address - Not Supported
  • 3.2.2.4.9 -> NOT Allowed
  • 3.2.2.4.10 -> NOT Allowed
  • 3.2.2.4.11 -> NOT Allowed
  • 3.2.2.4.12 -> Validating applicant as a Domain Contact - Not Supported
  • 3.2.2.4.13 -> Email to DNS CAA Contact - Not Supported
  • 3.2.2.4.14 -> Email to DNS TXT Contact
  • 3.2.2.4.15 / 16 / 17 -> Phone Contact - Not Supported
  • 3.2.2.4.18 -> File Validation
  • 3.2.2.4.19 -> ACME details - Not Supported
  • 3.2.2.4.20 -> TLS
See Also:
  • Enum Constant Details

    • BR_3_2_2_4_2

      public static final DcvMethod BR_3_2_2_4_2
      Email to Domain Contact.
      This method involves sending an email to a domain contact, as listed in the WHOIS database for the domain. The email will contain a random value that the recipient can use to confirm control over the domain.
    • BR_3_2_2_4_4

      public static final DcvMethod BR_3_2_2_4_4
      Constructed Email to Domain Contact.

      This method involves sending an email to a constructed address based on the domain, such as [email protected]. The email will contain a random value that the recipient can use to confirm control over the domain.

      The constructed emails are:

      • admin@
      • administrator@
      • webmaster@
      • hostmaster@
      • postmaster@
    • BR_3_2_2_4_7

      public static final DcvMethod BR_3_2_2_4_7
      DNS Change.

      This method requires the domain owner to create a specific DNS record. The presence of a random value or request token in the record is then verified to confirm control over the domain.

    • BR_3_2_2_4_14

      public static final DcvMethod BR_3_2_2_4_14
      Email to DNS Txt Contact.

      This method involves sending an email to an address specified in a DNS TXT record. The DNS TXT record must be located at _validation-contactemail.<domain>. The email will contain a random value that the recipient can use to confirm control over the domain.

    • BR_3_2_2_4_18

      public static final DcvMethod BR_3_2_2_4_18
      Agreed-Upon Change to Website v2.

      This method requires the domain owner to place a random value or request token in a specific file at a predetermined location on their web server. The presence of this file containing the given random value or request token confirms control over the FQDN.

  • Field Details

    • brMethod

      private final String brMethod
      The DCV method string.
  • Constructor Details

    • DcvMethod

      private DcvMethod(String brMethod)
      Constructs a new DcvMethod with the specified DCV method string.
      Parameters:
      brMethod - the DCV method string
  • Method Details

    • values

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