Record Class AcmeState.Order
java.lang.Object
java.lang.Record
zeroecho.pki.server.acme.AcmeState.Order
- Record Components:
orderId- stable order identifieraccountId- owning account identifierdirectoryId- owning directory identifierdirectoryRevision- frozen directory revisiondirectoryPolicyCommitment- frozen directory-policy commitment- exact logical authorityprofile- frozen certificate profile referenceissuerId- exact issuer generationissuancePathId- exact issuance chain pathissuancePathCommitment- expected chain-path commitmentidentifiers- distinct ordered requested identifiersnotBefore- optional requested validity startnotAfter- optional requested validity end, present withnotBeforestatus- order lifecycle state- authorization identifiers corresponding to requested identifierscredentialId- issued credential identifier, present exactly for a valid orderissuanceCommitment- optional frozen issuance-input commitmentsigningOperationId- optional durable signing operation identifiercreatedAt- server-authoritative creation timeexpiresAt- order expiration timecommitment- commitment to the complete order record
- Enclosing class:
AcmeState
public static record AcmeState.Order(String orderId, String accountId, String directoryId, int directoryRevision, String directoryPolicyCommitment, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId issuancePathId, String issuancePathCommitment, List<AcmeState.Identifier> identifiers, Optional<Instant> notBefore, Optional<Instant> notAfter, AcmeState.OrderStatus status, List<String> authorizationIds, Optional<PkiId> credentialId, Optional<String> issuanceCommitment, Optional<PkiId> signingOperationId, Instant createdAt, Instant expiresAt, String commitment)
extends Record
Durable ACME order frozen to one directory revision and issuance selection.
-
Constructor Summary
ConstructorsConstructorDescriptionOrder(String orderId, String accountId, String directoryId, int directoryRevision, String directoryPolicyCommitment, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId issuancePathId, String issuancePathCommitment, List<AcmeState.Identifier> identifiers, Optional<Instant> notBefore, Optional<Instant> notAfter, AcmeState.OrderStatus status, List<String> authorizationIds, Optional<PkiId> credentialId, Optional<String> issuanceCommitment, Optional<PkiId> signingOperationId, Instant createdAt, Instant expiresAt, String commitment) Validates exact policy and object bindings. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaccountIdrecord component.Returns the value of theauthorityIdrecord component.Returns the value of theauthorizationIdsrecord component.Returns the value of thecommitmentrecord component.Returns the value of thecreatedAtrecord component.Returns the value of thecredentialIdrecord component.Returns the value of thedirectoryIdrecord component.Returns the value of thedirectoryPolicyCommitmentrecord component.intReturns the value of thedirectoryRevisionrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpiresAtrecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theidentifiersrecord component.Returns the value of theissuanceCommitmentrecord component.Returns the value of theissuancePathCommitmentrecord component.Returns the value of theissuancePathIdrecord component.issuerId()Returns the value of theissuerIdrecord component.notAfter()Returns the value of thenotAfterrecord component.Returns the value of thenotBeforerecord component.orderId()Returns the value of theorderIdrecord component.profile()Returns the value of theprofilerecord component.Returns the value of thesigningOperationIdrecord component.status()Returns the value of thestatusrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Order
public Order(String orderId, String accountId, String directoryId, int directoryRevision, String directoryPolicyCommitment, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId issuancePathId, String issuancePathCommitment, List<AcmeState.Identifier> identifiers, Optional<Instant> notBefore, Optional<Instant> notAfter, AcmeState.OrderStatus status, List<String> authorizationIds, Optional<PkiId> credentialId, Optional<String> issuanceCommitment, Optional<PkiId> signingOperationId, Instant createdAt, Instant expiresAt, String commitment) Validates exact policy and object bindings.
-
-
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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with thecomparemethod from their corresponding wrapper classes. -
orderId
-
accountId
-
directoryId
Returns the value of thedirectoryIdrecord component.- Returns:
- the value of the
directoryIdrecord component
-
directoryRevision
public int directoryRevision()Returns the value of thedirectoryRevisionrecord component.- Returns:
- the value of the
directoryRevisionrecord component
-
directoryPolicyCommitment
Returns the value of thedirectoryPolicyCommitmentrecord component.- Returns:
- the value of the
directoryPolicyCommitmentrecord component
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
profile
-
issuerId
-
issuancePathId
Returns the value of theissuancePathIdrecord component.- Returns:
- the value of the
issuancePathIdrecord component
-
issuancePathCommitment
Returns the value of theissuancePathCommitmentrecord component.- Returns:
- the value of the
issuancePathCommitmentrecord component
-
identifiers
Returns the value of theidentifiersrecord component.- Returns:
- the value of the
identifiersrecord component
-
notBefore
-
notAfter
-
status
-
authorizationIds
Returns the value of theauthorizationIdsrecord component.- Returns:
- the value of the
authorizationIdsrecord component
-
credentialId
Returns the value of thecredentialIdrecord component.- Returns:
- the value of the
credentialIdrecord component
-
issuanceCommitment
Returns the value of theissuanceCommitmentrecord component.- Returns:
- the value of the
issuanceCommitmentrecord component
-
signingOperationId
Returns the value of thesigningOperationIdrecord component.- Returns:
- the value of the
signingOperationIdrecord component
-
createdAt
-
expiresAt
-
commitment
Returns the value of thecommitmentrecord component.- Returns:
- the value of the
commitmentrecord component
-