Interface PrivateKeyInput

interface PrivateKeyInput {
    encoding?: string;
    format?: Crypto.KeyFormat;
    key: string | Buffer;
    passphrase?: string | Buffer;
    type?: "pkcs1" | "pkcs8" | "sec1";
}

Hierarchy (view full)

Properties

encoding?: string
format?: Crypto.KeyFormat
key: string | Buffer
passphrase?: string | Buffer
type?: "pkcs1" | "pkcs8" | "sec1"