Record Class ServerControlStore.RealmRecord

java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerControlStore.RealmRecord
Record Components:
realmId - realm identity
displayName - safe administrative display name
exposure - authority exposure policy
authorizationCommitment - authorization configuration commitment
approvalCommitment - HIGH_RISK approval-policy commitment
extendedApprovalCommitment - commitment over all non-HIGH_RISK approval policies (canonical digest of the category-sorted map; the empty-map digest when none are configured)
disclosureCommitment - disclosure-default commitment
controlStoreId - exact metadata-store identity
Enclosing class:
ServerControlStore

public static record ServerControlStore.RealmRecord(RealmId realmId, String displayName, AuthorityExposurePolicy exposure, String authorizationCommitment, String approvalCommitment, String extendedApprovalCommitment, String disclosureCommitment, MetadataStoreId controlStoreId) extends Record
Durable realm-control identity and commitments.
  • Constructor Details

  • Method Details

    • toString

      public final String toString()
      Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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. All components in this record class are compared with Objects::equals(Object,Object).
      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
    • displayName

      public String displayName()
      Returns the value of the displayName record component.
      Returns:
      the value of the displayName record component
    • exposure

      public AuthorityExposurePolicy exposure()
      Returns the value of the exposure record component.
      Returns:
      the value of the exposure record component
    • authorizationCommitment

      public String authorizationCommitment()
      Returns the value of the authorizationCommitment record component.
      Returns:
      the value of the authorizationCommitment record component
    • approvalCommitment

      public String approvalCommitment()
      Returns the value of the approvalCommitment record component.
      Returns:
      the value of the approvalCommitment record component
    • extendedApprovalCommitment

      public String extendedApprovalCommitment()
      Returns the value of the extendedApprovalCommitment record component.
      Returns:
      the value of the extendedApprovalCommitment record component
    • disclosureCommitment

      public String disclosureCommitment()
      Returns the value of the disclosureCommitment record component.
      Returns:
      the value of the disclosureCommitment record component
    • controlStoreId

      public MetadataStoreId controlStoreId()
      Returns the value of the controlStoreId record component.
      Returns:
      the value of the controlStoreId record component