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

Type Parameters

Properties

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