Skip to content

Commit a6c1233

Browse files
kaznovactargos
authored andcommitted
doc: remove generated 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' PR-URL: #37459 Fixes: #37454 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
1 parent bc6ea63 commit a6c1233

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/crypto.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -1559,7 +1559,7 @@ If `object` is not a [`KeyObject`][], this function behaves as if
15591559
object, the following additional properties can be passed:
15601560

15611561
* `dsaEncoding` {string} For DSA and ECDSA, this option specifies the
1562-
format of the generated signature. It can be one of the following:
1562+
format of the signature. It can be one of the following:
15631563
* `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`.
15641564
* `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363.
15651565
* `padding` {integer} Optional padding value for RSA, one of the following:
@@ -3105,7 +3105,7 @@ passed to [`crypto.createPublicKey()`][]. If it is an object, the following
31053105
additional properties can be passed:
31063106

31073107
* `dsaEncoding` {string} For DSA and ECDSA, this option specifies the
3108-
format of the generated signature. It can be one of the following:
3108+
format of the signature. It can be one of the following:
31093109
* `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`.
31103110
* `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363.
31113111
* `padding` {integer} Optional padding value for RSA, one of the following:

0 commit comments

Comments
 (0)