Cotal TypeScript packages
    Preparing search index...

    Interface SessionSigner

    The adapter's signing identity for released session credentials (EdDSA/Ed25519). Determinism is the point: Ed25519 signatures are deterministic and the payload is constructed identically per (session, party), so the idempotent re-release returns byte-identical creds. New stages pin current.kid; release resolves the PINNED kid via resolve (rotation-safe: a rotated signer still reproduces the row's original bytes), returning undefined for an unknown/retired key so a release whose signing key is gone fails loud rather than re-minting under a new key.

    interface SessionSigner {
        current: { key: CryptoKey; kid: string };
        resolve(kid: string): CryptoKey | undefined;
        thumbprint(kid: string): string | undefined;
    }
    Index
    current: { key: CryptoKey; kid: string }
    • The stable public-key THUMBPRINT for a kid (RFC 7638 JWK thumbprint). Pinned in the credential row at stage and re-checked at release, so a signer that rebinds a kid label to a DIFFERENT key cannot silently re-sign a session's credential under new key material.

      Parameters

      • kid: string

      Returns string | undefined