Class DomainValidationEvidence
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringIncluding the BR version number in the evidence is important for auditing purposes.private final DcvMethodThe method used for domain control validation.private final StringDNS: The DNS record name used for validation.private final StringDNS: The DNS server used for validation.private final DnsTypeDNS: The type of DNS record used for validation.private final StringThe domain being validated.private final StringEMAIL: The email address used for validation.private final StringFILE Validation: The URL of the file used for validation.private final StringRANDOM: The random value used for validation.private final StringTOKEN: The valid request token found during validation.private final InstantThe instant when the domain validation was completed. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateDomainValidationEvidence(String domain, DcvMethod dcvMethod, Instant validationDate, String emailAddress, String fileUrl, DnsType dnsType, String dnsServer, String dnsRecordName, String requestToken, String randomValue) Constructs a new DomainValidationEvidence with the specified parameters. -
Method Summary
-
Field Details
-
domain
The domain being validated. -
dcvMethod
The method used for domain control validation. -
BR_VERSION
Including the BR version number in the evidence is important for auditing purposes. As specified in section 3.2.2.4 of the BRs:CAs SHALL maintain a record of which domain validation method, including relevant BR version number, they used to validate every domain.- See Also:
-
validationDate
The instant when the domain validation was completed. -
emailAddress
EMAIL: The email address used for validation.Only populated when the DCV method is an email type otherwise NULL (BR_3_2_2_4_2 / BR_3_2_2_4_4 / BR_3_2_2_4_14)
-
fileUrl
FILE Validation: The URL of the file used for validation.Only populated when the DCV method is FILE_VALIDATION (BR_3_2_2_4_18) otherwise NULL
-
dnsType
DNS: The type of DNS record used for validation.Only populated when the DCV method is DNS_CHANGE (BR_3_2_2_4_7) otherwise NULL
-
dnsServer
DNS: The DNS server used for validation.Only populated when the DCV method is DNS_CHANGE (BR_3_2_2_4_7) otherwise NULL
-
dnsRecordName
DNS: The DNS record name used for validation.Only populated when the DCV method is DNS_CHANGE (BR_3_2_2_4_7) otherwise NULL
-
requestToken
TOKEN: The valid request token found during validation.Only populated when using the REQUEST_TOKEN challenge type, which can only be used with the DNS_CHANGE and FILE_VALIDATION DCV methods; otherwise NULL.
-
randomValue
RANDOM: The random value used for validation.Populated when a random value is used for validation otherwise NULL
-
-
Constructor Details
-
DomainValidationEvidence
private DomainValidationEvidence(String domain, DcvMethod dcvMethod, Instant validationDate, String emailAddress, String fileUrl, DnsType dnsType, String dnsServer, String dnsRecordName, String requestToken, String randomValue) Constructs a new DomainValidationEvidence with the specified parameters.This constructor is private to enforce the use of the builder pattern for creating instances of DomainValidationEvidence. It initializes all fields with the provided values.
- Parameters:
domain- The domain being validated.dcvMethod- The dcv method used to complete domain validation.validationDate- The date when the validation was complete.emailAddress- The email address used for validation, if an email dcv method was usedfileUrl- The URL of the file used for validation, if a file dcv method was used.dnsType- The type of DNS record used for validation, if a DNS dcv method was used.dnsServer- The DNS server used for validation, if a DNS dcv method was used.dnsRecordName- The DNS record name used for validation, if a DNS dcv method was used.requestToken- The request token found during validation, if applicable.randomValue- The random value used for validation, if applicable.
-