Skip to main content
PrivateKeyInput - crypto - Node documentation
interface PrivateKeyInput

Usage in Deno

import { type PrivateKeyInput } from "node:crypto";

Properties

key: string | Buffer
optional
format: KeyFormat | undefined
optional
type:
"pkcs1"
| "pkcs8"
| "sec1"
| undefined
optional
passphrase:
string
| Buffer
| undefined
optional
encoding: string | undefined