Class DcvManager
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.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder class for constructing DcvManager instances. -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DnsClient
The DNS client used for DNS queries.private final DnsValidator
The DNS validator used for DCV.private final EmailValidator
The Email validator used for DCV.private final FileValidator
The File Validation validator used for DCV. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
DcvManager
(DcvConfiguration dcvConfiguration) Private constructor to enforce the use of the Builder for object creation. -
Method Summary
-
Field Details
-
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
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
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
The DNS client used for DNS queries. Exposed to allow for use outside the library.
-
-
Constructor Details
-
DcvManager
Private constructor to enforce the use of the Builder for object creation.- Parameters:
dcvConfiguration
- the configuration for DCV
-