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

Type Parameters

Properties

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