Record Class EstEndpoint
java.lang.Object
java.lang.Record
zeroecho.pki.server.est.EstEndpoint
- Record Components:
label- URL-safe identifier, 1–64 characters, matching[A-Za-z0-9._-]+- the CA authority identifier whose chain is served on this endpointprofileId- the issuance profile identifier applied to enrollment requestsenrollmentProfileId- mandatory enrollment policy identity, distinct from the issuance profilekeygen- key-generation policy for POST/serverkeygen
- All Implemented Interfaces:
EnrollmentEndpoint
public record EstEndpoint(String label, String authorityId, String profileId, String enrollmentProfileId, KeygenPolicy keygen)
extends Record
implements EnrollmentEndpoint
Immutable binding that maps an EST URL label to a CA authority, an issuance profile,
and a server-keygen policy.
Endpoints are registered and de-registered via the admin API and held in the
EstService endpoint registry. The label value appears verbatim in
every EST URL under /.well-known/est/{label}/....
- Since:
- 1.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMaximum permitted label length. -
Constructor Summary
ConstructorsConstructorDescriptionEstEndpoint(String label, String authorityId, String profileId, String enrollmentProfileId, KeygenPolicy keygen) Validates all fields. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityIdrecord component.Returns the value of theenrollmentProfileIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.keygen()Returns the value of thekeygenrecord component.label()Returns the value of thelabelrecord component.Returns the value of theprofileIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
MAX_LABEL_LENGTH
public static final int MAX_LABEL_LENGTHMaximum permitted label length.- See Also:
-
-
Constructor Details
-
EstEndpoint
public EstEndpoint(String label, String authorityId, String profileId, String enrollmentProfileId, KeygenPolicy keygen) Validates all fields.
-
-
Method Details
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
label
Returns the value of thelabelrecord component.- Specified by:
labelin interfaceEnrollmentEndpoint- Returns:
- the value of the
labelrecord component
-
authorityId
Returns the value of theauthorityIdrecord component.- Specified by:
authorityIdin interfaceEnrollmentEndpoint- Returns:
- the value of the
authorityIdrecord component
-
profileId
Returns the value of theprofileIdrecord component.- Specified by:
profileIdin interfaceEnrollmentEndpoint- Returns:
- the value of the
profileIdrecord component
-
enrollmentProfileId
Returns the value of theenrollmentProfileIdrecord component.- Specified by:
enrollmentProfileIdin interfaceEnrollmentEndpoint- Returns:
- the value of the
enrollmentProfileIdrecord component
-
keygen
-