From 560f0c8d218e562123bbe1e3a8a52e1928e0a7da Mon Sep 17 00:00:00 2001 From: Marko Kaznovac Date: Sat, 20 Feb 2021 21:02:31 +0100 Subject: [PATCH] doc: remove generted from dsaEncoding description remove term `generated` from `dsaEncoding` parameter's description - the parameter is used to specify the format of the signature, function dictates the signature 'action' --- doc/api/crypto.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 48c0094f9ecf66..18850d8deb3b16 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -1548,7 +1548,7 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if object, the following additional properties can be passed: * `dsaEncoding` {string} For DSA and ECDSA, this option specifies the - format of the generated signature. It can be one of the following: + format of the signature. It can be one of the following: * `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`. * `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363. * `padding` {integer} Optional padding value for RSA, one of the following: @@ -1672,7 +1672,7 @@ If `object` is not a [`KeyObject`][], this function behaves as if object, the following additional properties can be passed: * `dsaEncoding` {string} For DSA and ECDSA, this option specifies the - format of the generated signature. It can be one of the following: + format of the signature. It can be one of the following: * `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`. * `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363. * `padding` {integer} Optional padding value for RSA, one of the following: @@ -3840,7 +3840,7 @@ passed to [`crypto.createPrivateKey()`][]. If it is an object, the following additional properties can be passed: * `dsaEncoding` {string} For DSA and ECDSA, this option specifies the - format of the generated signature. It can be one of the following: + format of the signature. It can be one of the following: * `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`. * `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363. * `padding` {integer} Optional padding value for RSA, one of the following: @@ -3916,7 +3916,7 @@ passed to [`crypto.createPublicKey()`][]. If it is an object, the following additional properties can be passed: * `dsaEncoding` {string} For DSA and ECDSA, this option specifies the - format of the generated signature. It can be one of the following: + format of the signature. It can be one of the following: * `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`. * `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363. * `padding` {integer} Optional padding value for RSA, one of the following: