Enum Class EmailSource
- All Implemented Interfaces:
Serializable
,Comparable<EmailSource>
,Constable
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:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe email addresses are constructed from the domain name.The email addresses are found in a DNS TXT record for the domain.The email addresses are found in the WHOIS record for the domain. -
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
EmailSource
(DcvMethod dcvMethod) Constructor for EmailSource -
Method Summary
Modifier and TypeMethodDescriptionstatic EmailSource
Returns the enum constant of this class with the specified name.static EmailSource[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
TheDcvMethod
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
Constructor for EmailSourceInitializes 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
- TheDcvMethod
associated with the email source.
-
-
Method Details
-
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
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 nameNullPointerException
- if the argument is null
-