Record Class EnrollmentTransaction.Requester
java.lang.Object
java.lang.Record
zeroecho.pki.server.enrollment.EnrollmentTransaction.Requester
- Record Components:
type- protocol actor classificationactorId- stable protocol identity, account ID or configured PBM identityauthentication- exact verified mechanismcertificate- verified certificate evidence for certificate-authenticated protocolscanonicalKeySha256- verified mathematical requester key; absent for PBMlegacySpkiSha256- supported equivalent SPKI hashes for alias exclusionaliases- frozen realm-scoped administrative exclusions
- Enclosing class:
EnrollmentTransaction
public static record EnrollmentTransaction.Requester(IssuanceExecutionEvidence.ActorType type, String actorId, IssuanceExecutionEvidence.Authentication authentication, Optional<CertificateIdentityEvidence> certificate, Optional<String> canonicalKeySha256, Set<String> legacySpkiSha256, EnrollmentIdentityAliases.Snapshot aliases)
extends Record
Authenticated protocol actor, distinct from an administrative principal.
Construction asserts no authentication; protocol adapters supply verified
evidence. PBM identities supply explicit configured owner aliases.
-
Constructor Summary
ConstructorsConstructorDescriptionRequester(IssuanceExecutionEvidence.ActorType type, String actorId, IssuanceExecutionEvidence.Authentication authentication, Optional<CertificateIdentityEvidence> certificate, Optional<String> canonicalKeySha256, Set<String> legacySpkiSha256, EnrollmentIdentityAliases.Snapshot aliases) Rejects mechanism confusion and incomplete credential evidence. -
Method Summary
Modifier and TypeMethodDescriptionactorId()Returns the value of theactorIdrecord component.aliases()Returns the value of thealiasesrecord component.Returns the value of theauthenticationrecord component.Returns the value of thecanonicalKeySha256record component.Returns the value of thecertificaterecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thelegacySpkiSha256record component.toString()Returns a string representation of this record class.type()Returns the value of thetyperecord component.
-
Constructor Details
-
Requester
public Requester(IssuanceExecutionEvidence.ActorType type, String actorId, IssuanceExecutionEvidence.Authentication authentication, Optional<CertificateIdentityEvidence> certificate, Optional<String> canonicalKeySha256, Set<String> legacySpkiSha256, EnrollmentIdentityAliases.Snapshot aliases) Rejects mechanism confusion and incomplete credential evidence.
-
-
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). -
type
-
actorId
-
authentication
Returns the value of theauthenticationrecord component.- Returns:
- the value of the
authenticationrecord component
-
certificate
Returns the value of thecertificaterecord component.- Returns:
- the value of the
certificaterecord component
-
canonicalKeySha256
Returns the value of thecanonicalKeySha256record component.- Returns:
- the value of the
canonicalKeySha256record component
-
legacySpkiSha256
Returns the value of thelegacySpkiSha256record component.- Returns:
- the value of the
legacySpkiSha256record component
-
aliases
-