Build
Docs
Reference
Guides
Blog
Discord
/
node:crypto
/
RSAKeyPairOptions
P
modulusLength
P
privateKeyEncoding
P
publicExponent
P
publicKeyEncoding
Search the reference...
/
Build
Docs
Reference
Guides
Blog
Discord
/
node:crypto
/
RSAKeyPairOptions
P
modulusLength
P
privateKeyEncoding
P
publicExponent
P
publicKeyEncoding
interface
crypto.RSAKeyPairOptions
interface
RSAKeyPairOptions
modulusLength
:
number
Key size in bits
privateKeyEncoding
?
:
JwkKeyExportOptions
|
PrivateKeyExportOptions
<
'pkcs1'
|
'pkcs8'
>
publicExponent
?
:
number
Public exponent
publicKeyEncoding
?
:
JwkKeyExportOptions
|
PublicKeyExportOptions
<
'pkcs1'
|
'spki'
>