Record Class AcmeState.Authorization
java.lang.Object
java.lang.Record
zeroecho.pki.server.acme.AcmeState.Authorization
- Record Components:
- stable authorization identifierorderId- owning order identifieraccountId- owning account identifieridentifier- exact identifier being authorizedstatus- authorization lifecycle statechallengeIds- available challenge identifiersexpiresAt- authorization expiration timeevidenceId- validator evidence identifier, present exactly when validcommitment- commitment to the complete authorization record
- Enclosing class:
AcmeState
public static record AcmeState.Authorization(String authorizationId, String orderId, String accountId, AcmeState.Identifier identifier, AcmeState.AuthorizationStatus status, List<String> challengeIds, Instant expiresAt, Optional<String> evidenceId, String commitment)
extends Record
Durable identifier authorization owned by one account order.
-
Constructor Summary
ConstructorsConstructorDescriptionAuthorization(String authorizationId, String orderId, String accountId, AcmeState.Identifier identifier, AcmeState.AuthorizationStatus status, List<String> challengeIds, Instant expiresAt, Optional<String> evidenceId, String commitment) Validates exact ownership and evidence state. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.Returns the value of theauthorizationIdrecord component.Returns the value of thechallengeIdsrecord component.Returns the value of thecommitmentrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theevidenceIdrecord component.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifierrecord component.orderId()Returns the value of theorderIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Authorization
-
-
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). -
authorizationId
Returns the value of theauthorizationIdrecord component.- Returns:
- the value of the
authorizationIdrecord component
-
orderId
-
accountId
-
identifier
Returns the value of theidentifierrecord component.- Returns:
- the value of the
identifierrecord component
-
status
-
challengeIds
Returns the value of thechallengeIdsrecord component.- Returns:
- the value of the
challengeIdsrecord component
-
expiresAt
-
evidenceId
Returns the value of theevidenceIdrecord component.- Returns:
- the value of the
evidenceIdrecord component
-
commitment
Returns the value of thecommitmentrecord component.- Returns:
- the value of the
commitmentrecord component
-