Record Class AcmeChallengeProvider.Identifier
java.lang.Object
java.lang.Record
zeroecho.pki.server.spi.v2.AcmeChallengeProvider.Identifier
- Record Components:
type- identifier kindvalue- lowercase ASCII DNS name without a wildcard prefixwildcard- whether the identifier represents wildcard subdomains
- Enclosing interface:
AcmeChallengeProvider
public static record AcmeChallengeProvider.Identifier(AcmeChallengeProvider.IdentifierType type, String value, boolean wildcard)
extends Record
Immutable canonical DNS identifier.
- Since:
- 1.0
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifier(AcmeChallengeProvider.IdentifierType type, String value, boolean wildcard) Validates the complete canonical DNS representation. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the canonical wire presentation.final StringtoString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.value()Returns the value of thevaluerecord component.booleanwildcard()Returns the value of thewildcardrecord component.
-
Constructor Details
-
Identifier
Validates the complete canonical DNS representation.
-
-
Method Details
-
presentation
Returns the canonical wire presentation.- Returns:
- DNS value with a wildcard prefix when applicable
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
type
-
value
-
wildcard
-