interface KeyExportOptions<T> {
    type:
        | "pkcs1"
        | "spki"
        | "pkcs8"
        | "sec1";
    format: T;
    cipher?: string;
    passphrase?: string | Buffer;
}

Type Parameters

Properties

type:
    | "pkcs1"
    | "spki"
    | "pkcs8"
    | "sec1"
format: T
cipher?: string
passphrase?: string | Buffer