Crypto Lib
    Preparing search index...

    Interface KeyEntry

    A single key stored in the keyring.

    interface KeyEntry {
        kid: string;
        algorithm:
            | "ed25519"
            | "x25519"
            | "ed448"
            | "x448"
            | "p256"
            | "p384"
            | "ml-kem-512"
            | "ml-kem-768"
            | "ml-kem-1024"
            | "ml-dsa-44"
            | "ml-dsa-65"
            | "ml-dsa-87";
        publicKey: string;
        privateKey: string;
        use?: "sig"
        | "enc";
        exp?: string;
        createdAt: string;
        archived: boolean;
    }
    Index
    kid: string

    Unique key ID.

    algorithm:
        | "ed25519"
        | "x25519"
        | "ed448"
        | "x448"
        | "p256"
        | "p384"
        | "ml-kem-512"
        | "ml-kem-768"
        | "ml-kem-1024"
        | "ml-dsa-44"
        | "ml-dsa-65"
        | "ml-dsa-87"

    Algorithm.

    publicKey: string

    Hex-encoded public key.

    privateKey: string

    Hex-encoded private key.

    use?: "sig" | "enc"

    Key usage.

    exp?: string

    ISO 8601 expiration date.

    createdAt: string

    ISO 8601 creation date.

    archived: boolean

    Whether this key has been rotated out.