Record Class AcmeState.Identifier
java.lang.Object
java.lang.Record
zeroecho.pki.server.acme.AcmeState.Identifier
- Record Components:
type- identifier typevalue- canonical lowercase ASCII value without wildcard prefixwildcard- whether the presentation represents the wildcard subdomain
- Enclosing class:
AcmeState
public static record AcmeState.Identifier(AcmeState.IdentifierType type, String value, boolean wildcard)
extends Record
One canonical DNS identifier with an explicit wildcard bit.
-
Constructor Summary
ConstructorsConstructorDescriptionIdentifier(AcmeState.IdentifierType type, String value, boolean wildcard) Validates the canonical lower-case ASCII 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 ACME presentation form.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 canonical lower-case ASCII DNS representation.
-
-
Method Details
-
presentation
Returns the ACME presentation form.- Returns:
- canonical value, prefixed with
*.when wildcard
-
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
-