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
import { type PrivateKeyInput } from "https://deno.land/std@0.167.0/node/internal/crypto/types.ts";

Properties

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