Record Class CmpTransaction.Frozen
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.CmpTransaction.Frozen
- Record Components:
realmId- owning realmsource- exact endpoint and credential selectionrequester- authenticated original actor and frozen alias exclusions- logical authorityprofile- exact frozen certificate profile version and commitmentissuerId- selected issuer generationpathId- selected issuer pathpathCommitment- exact path commitmenttransactionSha256- transaction identifier commitmentoriginalWireSha256- exact authenticated original message commitmentoriginalType- original ir, cr, kur, rr or genm body tagrequestId- original nonnegative certificate request identifierrequestSha256- exact original CRMF digest for issuance, otherwise absentimplicitConfirmation- whether the original protected request asked for implicit confirmationcreatedAt- reservation timeexpiresAt- latest unclaimed admission timemaximumResponseBytes- conservative complete protected-response bound, reserved before side effects
- Enclosing class:
CmpTransaction
public static record CmpTransaction.Frozen(RealmId realmId, EnrollmentTransaction.Source source, EnrollmentTransaction.Requester requester, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId pathId, String pathCommitment, String transactionSha256, String originalWireSha256, int originalType, BigInteger requestId, Optional<String> requestSha256, boolean implicitConfirmation, Instant createdAt, Instant expiresAt, int maximumResponseBytes)
extends Record
Authenticated immutable reservation. Hashes commit to exact wire and CRMF
bytes; no CSR, shared secret or private key is stored here.
-
Constructor Summary
ConstructorsConstructorDescriptionFrozen(RealmId realmId, EnrollmentTransaction.Source source, EnrollmentTransaction.Requester requester, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId pathId, String pathCommitment, String transactionSha256, String originalWireSha256, int originalType, BigInteger requestId, Optional<String> requestSha256, boolean implicitConfirmation, Instant createdAt, Instant expiresAt, int maximumResponseBytes) Rejects mechanism, authority, request and response-capacity inconsistencies. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityIdrecord component.Returns the value of thecreatedAtrecord component.booleanReturns whether the transaction requires an attached issuance workflow.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.booleanReturns the value of theimplicitConfirmationrecord component.issuerId()Returns the value of theissuerIdrecord component.intReturns the value of themaximumResponseBytesrecord component.intReturns the value of theoriginalTyperecord component.Returns the value of theoriginalWireSha256record component.Returns the value of thepathCommitmentrecord component.pathId()Returns the value of thepathIdrecord component.profile()Returns the value of theprofilerecord component.realmId()Returns the value of therealmIdrecord component.Returns the value of therequesterrecord component.Returns the value of therequestIdrecord component.Returns the value of therequestSha256record component.source()Returns the value of thesourcerecord component.toString()Returns a redacted description.Returns the value of thetransactionSha256record component.
-
Constructor Details
-
Frozen
public Frozen(RealmId realmId, EnrollmentTransaction.Source source, EnrollmentTransaction.Requester requester, PkiId authorityId, CertificateProfileRef profile, PkiId issuerId, PkiId pathId, String pathCommitment, String transactionSha256, String originalWireSha256, int originalType, BigInteger requestId, Optional<String> requestSha256, boolean implicitConfirmation, Instant createdAt, Instant expiresAt, int maximumResponseBytes) Rejects mechanism, authority, request and response-capacity inconsistencies.
-
-
Method Details
-
enrollment
public boolean enrollment()Returns whether the transaction requires an attached issuance workflow.- Returns:
- whether the transaction requires an attached issuance workflow
-
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. -
realmId
-
source
-
requester
-
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
profile
-
issuerId
-
pathId
-
pathCommitment
Returns the value of thepathCommitmentrecord component.- Returns:
- the value of the
pathCommitmentrecord component
-
transactionSha256
Returns the value of thetransactionSha256record component.- Returns:
- the value of the
transactionSha256record component
-
originalWireSha256
Returns the value of theoriginalWireSha256record component.- Returns:
- the value of the
originalWireSha256record component
-
originalType
public int originalType()Returns the value of theoriginalTyperecord component.- Returns:
- the value of the
originalTyperecord component
-
requestId
-
requestSha256
Returns the value of therequestSha256record component.- Returns:
- the value of the
requestSha256record component
-
implicitConfirmation
public boolean implicitConfirmation()Returns the value of theimplicitConfirmationrecord component.- Returns:
- the value of the
implicitConfirmationrecord component
-
createdAt
-
expiresAt
-
maximumResponseBytes
public int maximumResponseBytes()Returns the value of themaximumResponseBytesrecord component.- Returns:
- the value of the
maximumResponseBytesrecord component
-