Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
interface PrivateKeyInput
Re-export
import { type PrivateKeyInput } from "https://deno.land/std@0.142.0/node/crypto.ts";

Properties

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