Class DcvManager

java.lang.Object
com.digicert.validation.DcvManager

public class DcvManager extends Object
DcvManager is responsible for managing the Domain Control Validation (DCV) process. It initializes and holds references to various validators such as DNS, Email, and File Validation validators, as well as the Dns Client.

The DcvManager class acts as a central point for coordinating the DCV process. It ensures that the appropriate validation method is used based on the configuration and the type of validation required.

  • Field Details

    • dnsValidator

      private final DnsValidator dnsValidator
      The DNS validator used for DCV.

      This validator is responsible for performing DNS-based domain control validation. It is able to check for the presence of a request token or random value in a DNS TXT or DNS CNAME record.

      Handles 3.2.2.4.7 DNS Change

    • emailValidator

      private final EmailValidator emailValidator
      The Email validator used for DCV.

      This validator assists with email-based domain control validation. It is able to perform whois and DNS lookups to determine usable email addresses for a given domain. It is not able to send out emails.

      Handles

      • 3.2.2.4.2 Email, Fax, SMS, or Postal Mail to Domain Contact
      • 3.2.2.4.4 Constructed Email to Domain Contact
      • 3.2.2.4.14 Email to DNS TXT Contact
    • fileValidator

      private final FileValidator fileValidator
      The File Validation validator used for DCV.

      This validator is responsible for performing file-based domain control validation. It checks for the presence of a request token or random value in a file to verify FQDN ownership. File validation cannot be used for wildcard domain names.

      Handles 3.2.2.4.18 Agreed-Upon Change to Website v2

    • dnsClient

      private final DnsClient dnsClient
      The DNS client used for DNS queries. Exposed to allow for use outside the library.
  • Constructor Details

    • DcvManager

      private DcvManager(DcvConfiguration dcvConfiguration)
      Private constructor to enforce the use of the Builder for object creation.
      Parameters:
      dcvConfiguration - the configuration for DCV