Record Class EnrollmentRuntimeConfiguration.PbmIdentity
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentRuntimeConfiguration.PbmIdentity
- Record Components:
senderKid- canonical lowercase hexadecimal identifier, 1..128 bytesidentityId- canonical requester identitysecret- encrypted keyring reference to 32..128 secret bytesownerAliases- explicit nonempty administrative owner exclusions
- Enclosing class:
EnrollmentRuntimeConfiguration
public static record EnrollmentRuntimeConfiguration.PbmIdentity(String senderKid, String identityId, EnrollmentRuntimeConfiguration.KeyReference secret, List<String> ownerAliases)
extends Record
One CMP PBM requester, isolated to this credential set and authority.
Owner aliases exclude known administrators from approving their own request;
they never grant an authentication or authorization privilege.
-
Constructor Summary
ConstructorsConstructorDescriptionPbmIdentity(String senderKid, String identityId, EnrollmentRuntimeConfiguration.KeyReference secret, List<String> ownerAliases) Validates bounded identity and exclusion fields. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of theidentityIdrecord component.Returns the value of theownerAliasesrecord component.secret()Returns the value of thesecretrecord component.Returns the value of thesenderKidrecord component.toString()Returns a string representation of this record class.
-
Constructor Details
-
PbmIdentity
public PbmIdentity(String senderKid, String identityId, EnrollmentRuntimeConfiguration.KeyReference secret, List<String> ownerAliases) Validates bounded identity and exclusion fields.
-
-
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). -
senderKid
-
identityId
Returns the value of theidentityIdrecord component.- Returns:
- the value of the
identityIdrecord component
-
secret
-
ownerAliases
Returns the value of theownerAliasesrecord component.- Returns:
- the value of the
ownerAliasesrecord component
-