Record Class RetainedIssuanceBinding
java.lang.Object
java.lang.Record
zeroecho.pki.api.issuance.RetainedIssuanceBinding
- Record Components:
- exact issuing authorityissuanceId- stable external issuance identityexpectedProfile- frozen profile identity, version and digestexpectedIssuerId- frozen issuer generationexpectedChainPathId- frozen issuance chain pathexpectedChainPathCommitment- lowercase SHA-256 chain-path commitmenteffectiveCommitment- lowercase SHA-256 effective issuance commitment, including CSR and validity
public record RetainedIssuanceBinding(PkiId authorityId, String issuanceId, CertificateProfileRef expectedProfile, PkiId expectedIssuerId, PkiId expectedChainPathId, String expectedChainPathCommitment, String effectiveCommitment)
extends Record
Immutable CSR-free coordinates for exact lookup of retained issuance semantics.
This value carries no authorization, credential, runtime state or operation handle.
Callers must authenticate and authorize lookup and the returned persisted scope.
Construction validates bounded identifiers and commitments without consulting a store.
-
Constructor Summary
ConstructorsConstructorDescriptionRetainedIssuanceBinding(PkiId authorityId, String issuanceId, CertificateProfileRef expectedProfile, PkiId expectedIssuerId, PkiId expectedChainPathId, String expectedChainPathCommitment, String effectiveCommitment) Validates the same frozen coordinate bounds as correlated issuance requests. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theauthorityIdrecord component.Returns the value of theeffectiveCommitmentrecord component.final booleanIndicates whether some other object is "equal to" this one.Returns the value of theexpectedChainPathCommitmentrecord component.Returns the value of theexpectedChainPathIdrecord component.Returns the value of theexpectedIssuerIdrecord component.Returns the value of theexpectedProfilerecord component.final inthashCode()Returns a hash code value for this object.Returns the value of theissuanceIdrecord component.toString()Returns a representation without privileged correlation or issuance coordinates.
-
Constructor Details
-
RetainedIssuanceBinding
public RetainedIssuanceBinding(PkiId authorityId, String issuanceId, CertificateProfileRef expectedProfile, PkiId expectedIssuerId, PkiId expectedChainPathId, String expectedChainPathCommitment, String effectiveCommitment) Validates the same frozen coordinate bounds as correlated issuance requests. Identifier validation takes linear time and constant auxiliary memory.- Throws:
NullPointerException- if a required identifier or profile is nullIllegalArgumentException- if an identity or digest is invalid, or an identifier exceeds 4,096 UTF-8 bytes or contains an unpaired surrogate
-
-
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). -
authorityId
Returns the value of theauthorityIdrecord component.- Returns:
- the value of the
authorityIdrecord component
-
issuanceId
Returns the value of theissuanceIdrecord component.- Returns:
- the value of the
issuanceIdrecord component
-
expectedProfile
Returns the value of theexpectedProfilerecord component.- Returns:
- the value of the
expectedProfilerecord component
-
expectedIssuerId
Returns the value of theexpectedIssuerIdrecord component.- Returns:
- the value of the
expectedIssuerIdrecord component
-
expectedChainPathId
Returns the value of theexpectedChainPathIdrecord component.- Returns:
- the value of the
expectedChainPathIdrecord component
-
expectedChainPathCommitment
Returns the value of theexpectedChainPathCommitmentrecord component.- Returns:
- the value of the
expectedChainPathCommitmentrecord component
-
effectiveCommitment
Returns the value of theeffectiveCommitmentrecord component.- Returns:
- the value of the
effectiveCommitmentrecord component
-