Record Class CmpTransaction.Frozen

java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.CmpTransaction.Frozen
Record Components:
realmId - owning realm
source - exact endpoint and credential selection
requester - authenticated original actor and frozen alias exclusions
authorityId - logical authority
profile - exact frozen certificate profile version and commitment
issuerId - selected issuer generation
pathId - selected issuer path
pathCommitment - exact path commitment
transactionSha256 - transaction identifier commitment
originalWireSha256 - exact authenticated original message commitment
originalType - original ir, cr, kur, rr or genm body tag
requestId - original nonnegative certificate request identifier
requestSha256 - exact original CRMF digest for issuance, otherwise absent
implicitConfirmation - whether the original protected request asked for implicit confirmation
createdAt - reservation time
expiresAt - latest unclaimed admission time
maximumResponseBytes - 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 Details

  • 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

      public String toString()
      Returns a redacted description.
      Specified by:
      toString in class Record
      Returns:
      a redacted description
    • hashCode

      public final int hashCode()
      Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object o)
      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 with Objects::equals(Object,Object); primitive components are compared with the compare method from their corresponding wrapper classes.
      Specified by:
      equals in class Record
      Parameters:
      o - the object with which to compare
      Returns:
      true if this object is the same as the o argument; false otherwise.
    • realmId

      public RealmId realmId()
      Returns the value of the realmId record component.
      Returns:
      the value of the realmId record component
    • source

      Returns the value of the source record component.
      Returns:
      the value of the source record component
    • requester

      public EnrollmentTransaction.Requester requester()
      Returns the value of the requester record component.
      Returns:
      the value of the requester record component
    • authorityId

      public PkiId authorityId()
      Returns the value of the authorityId record component.
      Returns:
      the value of the authorityId record component
    • profile

      public CertificateProfileRef profile()
      Returns the value of the profile record component.
      Returns:
      the value of the profile record component
    • issuerId

      public PkiId issuerId()
      Returns the value of the issuerId record component.
      Returns:
      the value of the issuerId record component
    • pathId

      public PkiId pathId()
      Returns the value of the pathId record component.
      Returns:
      the value of the pathId record component
    • pathCommitment

      public String pathCommitment()
      Returns the value of the pathCommitment record component.
      Returns:
      the value of the pathCommitment record component
    • transactionSha256

      public String transactionSha256()
      Returns the value of the transactionSha256 record component.
      Returns:
      the value of the transactionSha256 record component
    • originalWireSha256

      public String originalWireSha256()
      Returns the value of the originalWireSha256 record component.
      Returns:
      the value of the originalWireSha256 record component
    • originalType

      public int originalType()
      Returns the value of the originalType record component.
      Returns:
      the value of the originalType record component
    • requestId

      public BigInteger requestId()
      Returns the value of the requestId record component.
      Returns:
      the value of the requestId record component
    • requestSha256

      public Optional<String> requestSha256()
      Returns the value of the requestSha256 record component.
      Returns:
      the value of the requestSha256 record component
    • implicitConfirmation

      public boolean implicitConfirmation()
      Returns the value of the implicitConfirmation record component.
      Returns:
      the value of the implicitConfirmation record component
    • createdAt

      public Instant createdAt()
      Returns the value of the createdAt record component.
      Returns:
      the value of the createdAt record component
    • expiresAt

      public Instant expiresAt()
      Returns the value of the expiresAt record component.
      Returns:
      the value of the expiresAt record component
    • maximumResponseBytes

      public int maximumResponseBytes()
      Returns the value of the maximumResponseBytes record component.
      Returns:
      the value of the maximumResponseBytes record component