Record Class ServerControlStore.RealmRecord
java.lang.Object
java.lang.Record
zeroecho.pki.server.ServerControlStore.RealmRecord
- Record Components:
realmId- realm identitydisplayName- safe administrative display nameexposure- authority exposure policy- authorization configuration commitmentapprovalCommitment- HIGH_RISK approval-policy commitmentextendedApprovalCommitment- 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 commitmentcontrolStoreId- 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 Summary
ConstructorsConstructorDescriptionRealmRecord(RealmId realmId, String displayName, AuthorityExposurePolicy exposure, String authorizationCommitment, String approvalCommitment, String extendedApprovalCommitment, String disclosureCommitment, MetadataStoreId controlStoreId) Validates finite realm control metadata. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theapprovalCommitmentrecord component.Returns the value of theauthorizationCommitmentrecord component.Returns the value of thecontrolStoreIdrecord component.Returns the value of thedisclosureCommitmentrecord component.Returns the value of thedisplayNamerecord component.final booleanIndicates whether some other object is "equal to" this one.exposure()Returns the value of theexposurerecord component.Returns the value of theextendedApprovalCommitmentrecord component.final inthashCode()Returns a hash code value for this object.realmId()Returns the value of therealmIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
RealmRecord
public RealmRecord(RealmId realmId, String displayName, AuthorityExposurePolicy exposure, String authorizationCommitment, String approvalCommitment, String extendedApprovalCommitment, String disclosureCommitment, MetadataStoreId controlStoreId) Validates finite realm control metadata.
-
-
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). -
realmId
-
displayName
Returns the value of thedisplayNamerecord component.- Returns:
- the value of the
displayNamerecord component
-
exposure
-
authorizationCommitment
Returns the value of theauthorizationCommitmentrecord component.- Returns:
- the value of the
authorizationCommitmentrecord component
-
approvalCommitment
Returns the value of theapprovalCommitmentrecord component.- Returns:
- the value of the
approvalCommitmentrecord component
-
extendedApprovalCommitment
Returns the value of theextendedApprovalCommitmentrecord component.- Returns:
- the value of the
extendedApprovalCommitmentrecord component
-
disclosureCommitment
Returns the value of thedisclosureCommitmentrecord component.- Returns:
- the value of the
disclosureCommitmentrecord component
-
controlStoreId
Returns the value of thecontrolStoreIdrecord component.- Returns:
- the value of the
controlStoreIdrecord component
-