Skip to content

Commit 6192315

Browse files
kaznovacdanielleadams
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 e4c8c50 commit 6192315

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
@@ -1672,7 +1672,7 @@ If `object` is not a [`KeyObject`][], this function behaves as if
16721672
object, the following additional properties can be passed:
16731673

16741674
* `dsaEncoding` {string} For DSA and ECDSA, this option specifies the
1675-
format of the generated signature. It can be one of the following:
1675+
format of the signature. It can be one of the following:
16761676
* `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`.
16771677
* `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363.
16781678
* `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
39163916
additional properties can be passed:
39173917

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

0 commit comments

Comments
 (0)