IFClite TypeScript API
    Preparing search index...

    Interface KeyRing

    interface KeyRing {
        active(): RoomKey[];
        current(): RoomKey;
        prune(): number;
        rotate(next: RoomKey): void;
    }
    Index
    • All keys — current + still-in-grace ones. Most-recent first.

      Returns RoomKey[]

    • Drop keys that are past grace.

      Returns number

    • Rotate: new key becomes current; previous key is retained for grace.

      Parameters

      Returns void