Interface: GenerateKeyPairOptions
March 19, 2026 ยท View on GitHub
Support from the community to continue maintaining and improving this module is welcome. If you find the module useful, please consider supporting the project by becoming a sponsor.
Properties
extractable?
โข optional extractable?: boolean
Indicates whether or not the private key may be exported. Default is false.
modulusLength?
โข optional modulusLength?: number
(RSA algorithms only) The length, in bits, of the RSA modulus. Default is 2048.