Record Class PkiOperation.RegisterIssuerChainPath
java.lang.Object
java.lang.Record
zeroecho.pki.application.PkiOperation.RegisterIssuerChainPath
- Record Components:
caId- exact non-null authority identifierissuerId- exact non-null member generation identifierparentPathId- exact non-null immutable parent-path identifier
- All Implemented Interfaces:
PkiOperation
- Enclosing interface:
PkiOperation
public static record PkiOperation.RegisterIssuerChainPath(PkiId caId, PkiId issuerId, PkiId parentPathId)
extends Record
implements PkiOperation
Registers a chain path by prepending a member generation's credential to a parent path.
The CA and generation need not be active. Existing store validation enforces
certificate relationships and a maximum of 32 credentials. Registration never
changes the CA head or selected path. Success returns the fields of
PkiOperation.InspectIssuerChainPath; duplicate immutable creation retains the store's
rejection behavior.
-
Nested Class Summary
Nested classes/interfaces inherited from interface PkiOperation
PkiOperation.ActivateProfile, PkiOperation.CompleteCredentialConfirmationProof, PkiOperation.HoldCredential, PkiOperation.ImportRequest, PkiOperation.InspectAlgorithmBinding, PkiOperation.InspectAuthority, PkiOperation.InspectCredential, PkiOperation.InspectIssuerChainPath, PkiOperation.InspectIssuerGeneration, PkiOperation.InspectProfile, PkiOperation.InspectPublication, PkiOperation.InspectRequest, PkiOperation.InspectRevocation, PkiOperation.InspectStatus, PkiOperation.InspectStatusSchedule, PkiOperation.IssueCredentialConfirmationChallenge, PkiOperation.ListAlgorithmBindings, PkiOperation.ListAuthorities, PkiOperation.ListIssuerChainPaths, PkiOperation.ListIssuerGenerations, PkiOperation.ListPendingCredentialConfirmations, PkiOperation.ListProfiles, PkiOperation.ListProfileVersions, PkiOperation.ListPublications, PkiOperation.ListRequests, PkiOperation.ListStatus, PkiOperation.ListStatusSchedules, PkiOperation.ProcessPublication, PkiOperation.QueryAuthorityMetrics, PkiOperation.QueryCertificateMetrics, PkiOperation.QueryPublicationMetrics, PkiOperation.QueryRevocationMetrics, PkiOperation.QueryServerMetrics, PkiOperation.ReadRevocationHistory, PkiOperation.ReconcilePublication, PkiOperation.RegisterIssuerChainPath, PkiOperation.RegisterProfile, PkiOperation.RegisterPublication, PkiOperation.RetryPublication, PkiOperation.RevokeCredential, PkiOperation.RevokePendingCredentialConfirmation, PkiOperation.SearchCredentials, PkiOperation.SelectIssuancePath, PkiOperation.SetStatusSchedule, PkiOperation.SnapshotRevocations, PkiOperation.TransitionAuthority, PkiOperation.UnholdCredential, PkiOperation.ValidateAlgorithmBindings, PkiOperation.ValidateConfiguration, PkiOperation.ValidateProfile, PkiOperation.VerifyRequest -
Field Summary
FieldsFields inherited from interface PkiOperation
MAXIMUM_RESULT_ENTRIES -
Constructor Summary
ConstructorsConstructorDescriptionRegisterIssuerChainPath(PkiId caId, PkiId issuerId, PkiId parentPathId) Creates an immutable path-registration request. -
Method Summary
Modifier and TypeMethodDescriptioncaId()Returns the value of thecaIdrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.issuerId()Returns the value of theissuerIdrecord component.name()Returns the stable semantic name "issuer.path.register".Returns the value of theparentPathIdrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
NAME
-
-
Constructor Details
-
RegisterIssuerChainPath
Creates an immutable path-registration request.- Parameters:
caId- exact authority identifierissuerId- exact member generation identifierparentPathId- exact parent-path identifier- Throws:
NullPointerException- if an identifier is null
-
-
Method Details
-
name
Returns the stable semantic name "issuer.path.register".- Specified by:
namein interfacePkiOperation- Returns:
- the stable semantic name "issuer.path.register"
-
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). -
caId
-
issuerId
-
parentPathId
Returns the value of theparentPathIdrecord component.- Returns:
- the value of the
parentPathIdrecord component
-