interface · Browser and Node
RotateOptions
@toip-tools/eventlogView sourceimport { type RotateOptions } from "@toip-tools/eventlog";
Declaration
interface RotateOptions {
kt?: number;
nt?: number;
nextCount?: number;
/** Next-key digests held elsewhere, added after the cold ones. (Additive.) */
extraNext?: Qb64[];
/** All new next-key digests. Empty abandons the AID. (Additive.) */
next?: Qb64[];
addWitnesses?: Qb64[];
removeWitnesses?: Qb64[];
bt?: number;
anchors?: Seal[];
/** Recovery: seal these trails at these s, not at their heads. */
cutAfter?: Record<Qb64, number>;
/** Recovery: place the rot at this KEL sn, superseding ixns. */
supersede?: number;
/** Signers of prior next keys held elsewhere (custody patterns). They become the new current keys. */
exposed?: Signer[];
/**
* More current keys, after the signers, that don't sign this rotation. A principal rotating alone names the agent's new key here,
* so the agent keeps signing. The signers must still meet the new kt. (Additive.)
*/
extraKeys?: Qb64[];
}
Properties
ktoptionalnumber | undefinedntoptionalnumber | undefinednextCountoptionalnumber | undefinedextraNextoptionalstring[] | undefinedNext-key digests held elsewhere, added after the cold ones. (Additive.)
nextoptionalstring[] | undefinedAll new next-key digests. Empty abandons the AID. (Additive.)
addWitnessesoptionalstring[] | undefinedremoveWitnessesoptionalstring[] | undefinedbtoptionalnumber | undefinedanchorsoptionalSeal[] | undefinedcutAfteroptionalRecord<string, number> | undefinedRecovery: seal these trails at these s, not at their heads.
supersedeoptionalnumber | undefinedRecovery: place the rot at this KEL sn, superseding ixns.
exposedoptionalSigner[] | undefinedSigners of prior next keys held elsewhere (custody patterns). They become the new current keys.
extraKeysoptionalstring[] | undefinedMore current keys, after the signers, that don't sign this rotation. A principal rotating alone names the agent's new key here, so the agent keeps signing. The signers must still meet the new kt. (Additive.)