Crypto MCP
    Preparing search index...

    Interface KeyMaterial

    Key material handed to KeyStore.add.

    interface KeyMaterial {
        kind: KeyKind;
        info: Record<string, unknown>;
        privateKey?: KeyObject;
        publicKey?: KeyObject;
        secret?: Buffer<ArrayBufferLike>;
    }
    Index
    kind: KeyKind
    info: Record<string, unknown>

    Public metadata returned to the caller (public key, size, curve).

    privateKey?: KeyObject

    Asymmetric private key (Ed25519, RSA, ECC).

    publicKey?: KeyObject

    Asymmetric public key (Ed25519, RSA, ECC).

    secret?: Buffer<ArrayBufferLike>

    Raw secret bytes (symmetric, HMAC, ML-KEM secret key).