@@ -3380,6 +3380,9 @@ changes:
3380
3380
- v12.17.0
3381
3381
pr-url: https://github.com/nodejs/node/pull/31178
3382
3382
description: Add support for Diffie-Hellman.
3383
+ - version: v12.0.0
3384
+ pr-url: https://github.com/nodejs/node/pull/26960
3385
+ description: Add support for RSA-PSS key pairs.
3383
3386
- version: v12.0.0
3384
3387
pr-url: https://github.com/nodejs/node/pull/26774
3385
3388
description: Add ability to generate X25519 and X448 key pairs.
@@ -3392,8 +3395,8 @@ changes:
3392
3395
produce key objects if no encoding was specified.
3393
3396
-->
3394
3397
3395
- * ` type ` : {string} Must be ` 'rsa' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` , ` 'ed448 ' ` ,
3396
- ` 'x25519' ` , ` 'x448' ` , or ` 'dh' ` .
3398
+ * ` type ` : {string} Must be ` 'rsa' ` , ` 'rsa-pss ' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` ,
3399
+ ` 'ed448' ` , ` ' x25519'` , ` 'x448' ` , or ` 'dh' ` .
3397
3400
* ` options ` : {Object}
3398
3401
* ` modulusLength ` : {number} Key size in bits (RSA, DSA).
3399
3402
* ` publicExponent ` : {number} Public exponent (RSA). ** Default:** ` 0x10001 ` .
@@ -3411,8 +3414,8 @@ changes:
3411
3414
* ` publicKey ` : {string | Buffer | KeyObject}
3412
3415
* ` privateKey ` : {string | Buffer | KeyObject}
3413
3416
3414
- Generates a new asymmetric key pair of the given ` type ` . RSA, DSA, EC, Ed25519 ,
3415
- Ed448, X25519, X448, and DH are currently supported.
3417
+ Generates a new asymmetric key pair of the given ` type ` . RSA, RSA-PSS, DSA, EC ,
3418
+ Ed25519, Ed448, X25519, X448, and DH are currently supported.
3416
3419
3417
3420
If a ` publicKeyEncoding ` or ` privateKeyEncoding ` was specified, this function
3418
3421
behaves as if [ ` keyObject.export() ` ] [ ] had been called on its result. Otherwise,
@@ -3480,6 +3483,12 @@ changes:
3480
3483
- v12.17.0
3481
3484
pr-url: https://github.com/nodejs/node/pull/31178
3482
3485
description: Add support for Diffie-Hellman.
3486
+ - version: v12.0.0
3487
+ pr-url: https://github.com/nodejs/node/pull/26960
3488
+ description: Add support for RSA-PSS key pairs.
3489
+ - version: v12.0.0
3490
+ pr-url: https://github.com/nodejs/node/pull/26774
3491
+ description: Add ability to generate X25519 and X448 key pairs.
3483
3492
- version: v12.0.0
3484
3493
pr-url: https://github.com/nodejs/node/pull/26554
3485
3494
description: Add ability to generate Ed25519 and Ed448 key pairs.
@@ -3489,8 +3498,8 @@ changes:
3489
3498
produce key objects if no encoding was specified.
3490
3499
-->
3491
3500
3492
- * ` type ` : {string} Must be ` 'rsa' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` , ` 'ed448 ' ` ,
3493
- ` 'x25519' ` , ` 'x448' ` , or ` 'dh' ` .
3501
+ * ` type ` : {string} Must be ` 'rsa' ` , ` 'rsa-pss ' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` ,
3502
+ ` 'ed448' ` , ` ' x25519'` , ` 'x448' ` , or ` 'dh' ` .
3494
3503
* ` options ` : {Object}
3495
3504
* ` modulusLength ` : {number} Key size in bits (RSA, DSA).
3496
3505
* ` publicExponent ` : {number} Public exponent (RSA). ** Default:** ` 0x10001 ` .
@@ -3507,8 +3516,8 @@ changes:
3507
3516
* ` publicKey ` : {string | Buffer | KeyObject}
3508
3517
* ` privateKey ` : {string | Buffer | KeyObject}
3509
3518
3510
- Generates a new asymmetric key pair of the given ` type ` . RSA, DSA, EC, Ed25519 ,
3511
- Ed448, X25519, X448, and DH are currently supported.
3519
+ Generates a new asymmetric key pair of the given ` type ` . RSA, RSA-PSS, DSA, EC ,
3520
+ Ed25519, Ed448, X25519, X448, and DH are currently supported.
3512
3521
3513
3522
If a ` publicKeyEncoding ` or ` privateKeyEncoding ` was specified, this function
3514
3523
behaves as if [ ` keyObject.export() ` ] [ ] had been called on its result. Otherwise,
0 commit comments