@@ -3368,6 +3368,9 @@ changes:
3368
3368
- v12.17.0
3369
3369
pr-url: https://github.com/nodejs/node/pull/31178
3370
3370
description: Add support for Diffie-Hellman.
3371
+ - version: v12.0.0
3372
+ pr-url: https://github.com/nodejs/node/pull/26960
3373
+ description: Add support for RSA-PSS key pairs.
3371
3374
- version: v12.0.0
3372
3375
pr-url: https://github.com/nodejs/node/pull/26774
3373
3376
description: Add ability to generate X25519 and X448 key pairs.
@@ -3380,8 +3383,8 @@ changes:
3380
3383
produce key objects if no encoding was specified.
3381
3384
-->
3382
3385
3383
- * ` type ` : {string} Must be ` 'rsa' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` , ` 'ed448 ' ` ,
3384
- ` 'x25519' ` , ` 'x448' ` , or ` 'dh' ` .
3386
+ * ` type ` : {string} Must be ` 'rsa' ` , ` 'rsa-pss ' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` ,
3387
+ ` 'ed448' ` , ` ' x25519'` , ` 'x448' ` , or ` 'dh' ` .
3385
3388
* ` options ` : {Object}
3386
3389
* ` modulusLength ` : {number} Key size in bits (RSA, DSA).
3387
3390
* ` publicExponent ` : {number} Public exponent (RSA). ** Default:** ` 0x10001 ` .
@@ -3399,8 +3402,8 @@ changes:
3399
3402
* ` publicKey ` : {string | Buffer | KeyObject}
3400
3403
* ` privateKey ` : {string | Buffer | KeyObject}
3401
3404
3402
- Generates a new asymmetric key pair of the given ` type ` . RSA, DSA, EC, Ed25519 ,
3403
- Ed448, X25519, X448, and DH are currently supported.
3405
+ Generates a new asymmetric key pair of the given ` type ` . RSA, RSA-PSS, DSA, EC ,
3406
+ Ed25519, Ed448, X25519, X448, and DH are currently supported.
3404
3407
3405
3408
If a ` publicKeyEncoding ` or ` privateKeyEncoding ` was specified, this function
3406
3409
behaves as if [ ` keyObject.export() ` ] [ ] had been called on its result. Otherwise,
@@ -3468,6 +3471,12 @@ changes:
3468
3471
- v12.17.0
3469
3472
pr-url: https://github.com/nodejs/node/pull/31178
3470
3473
description: Add support for Diffie-Hellman.
3474
+ - version: v12.0.0
3475
+ pr-url: https://github.com/nodejs/node/pull/26960
3476
+ description: Add support for RSA-PSS key pairs.
3477
+ - version: v12.0.0
3478
+ pr-url: https://github.com/nodejs/node/pull/26774
3479
+ description: Add ability to generate X25519 and X448 key pairs.
3471
3480
- version: v12.0.0
3472
3481
pr-url: https://github.com/nodejs/node/pull/26554
3473
3482
description: Add ability to generate Ed25519 and Ed448 key pairs.
@@ -3477,8 +3486,8 @@ changes:
3477
3486
produce key objects if no encoding was specified.
3478
3487
-->
3479
3488
3480
- * ` type ` : {string} Must be ` 'rsa' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` , ` 'ed448 ' ` ,
3481
- ` 'x25519' ` , ` 'x448' ` , or ` 'dh' ` .
3489
+ * ` type ` : {string} Must be ` 'rsa' ` , ` 'rsa-pss ' ` , ` 'dsa ' ` , ` 'ec ' ` , ` 'ed25519 ' ` ,
3490
+ ` 'ed448' ` , ` ' x25519'` , ` 'x448' ` , or ` 'dh' ` .
3482
3491
* ` options ` : {Object}
3483
3492
* ` modulusLength ` : {number} Key size in bits (RSA, DSA).
3484
3493
* ` publicExponent ` : {number} Public exponent (RSA). ** Default:** ` 0x10001 ` .
@@ -3495,8 +3504,8 @@ changes:
3495
3504
* ` publicKey ` : {string | Buffer | KeyObject}
3496
3505
* ` privateKey ` : {string | Buffer | KeyObject}
3497
3506
3498
- Generates a new asymmetric key pair of the given ` type ` . RSA, DSA, EC, Ed25519 ,
3499
- Ed448, X25519, X448, and DH are currently supported.
3507
+ Generates a new asymmetric key pair of the given ` type ` . RSA, RSA-PSS, DSA, EC ,
3508
+ Ed25519, Ed448, X25519, X448, and DH are currently supported.
3500
3509
3501
3510
If a ` publicKeyEncoding ` or ` privateKeyEncoding ` was specified, this function
3502
3511
behaves as if [ ` keyObject.export() ` ] [ ] had been called on its result. Otherwise,
0 commit comments