Crypto Lib
    Preparing search index...

    Interface KeyMetadata

    Optional metadata attached to a generated key pair.

    interface KeyMetadata {
        kid?: string;
        use?: "sig" | "enc";
        exp?: string;
    }
    Index
    kid?: string

    Key ID (auto-generated if not provided).

    use?: "sig" | "enc"

    Key usage: "sig" (signing) or "enc" (encryption/key exchange).

    exp?: string

    Expiration date (ISO 8601 string).