Docs
Reference
Guides
Blog
Discord
/
node:crypto
/
PrivateKeyInput
P
encoding
P
format
P
key
P
passphrase
P
type
Search the reference...
/
Docs
Reference
Guides
Blog
Discord
/
node:crypto
/
PrivateKeyInput
P
encoding
P
format
P
key
P
passphrase
P
type
interface
crypto.PrivateKeyInput
interface
PrivateKeyInput
encoding
?
:
string
format
?
:
KeyFormat
key
:
string
|
Buffer
<
ArrayBufferLike
>
passphrase
?
:
string
|
Buffer
<
ArrayBufferLike
>
type
?
:
'pkcs1'
|
'pkcs8'
|
'sec1'