Crypto Lib
    Preparing search index...

    Interface GeneratedKeyPair

    Result of a key-pair generation operation.

    interface GeneratedKeyPair {
        publicKey: string;
        privateKey: 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";
        kid: string;
        metadata: KeyMetadata;
    }
    Index
    publicKey: string

    Hex-encoded public key.

    privateKey: string

    Hex-encoded private/secret key.

    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 identifier.

    kid: string

    Key ID (SHA-256 thumbprint of public key).

    metadata: KeyMetadata

    Key metadata.