Interface CaKeyRotationCommand
- All Known Implementing Classes:
CaKeyRotationCommand.Intermediate, CaKeyRotationCommand.Root
public sealed interface CaKeyRotationCommand
permits CaKeyRotationCommand.Root, CaKeyRotationCommand.Intermediate
Command to rotate a CA key reference and issue new corresponding CA
credentials.
Key rotation changes the underlying key material. Historical key references and credentials must remain discoverable for audit and validation of previously issued credentials. Profile selection comes from authoritative CA state. Construction validates structure only; it neither generates keys nor proves possession or authorizes rotation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordIntermediate rotation with a new managed key.static final recordRoot rotation with an explicitly provisioned new key. -
Method Summary
Modifier and TypeMethodDescriptionReturns immutable universal attributes.caId()Returns CA entity identifier.Returns explicitly provisioned new managed key.
-
Method Details
-
caId
-
newKeyRef
KeyRef newKeyRef()Returns explicitly provisioned new managed key.- Returns:
- explicitly provisioned new managed key
-
attributes
AttributeSet attributes()Returns immutable universal attributes.- Returns:
- immutable universal attributes
-