Skip to content

Commit 33739b8

Browse files
committed
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'
1 parent 04fb597 commit 33739b8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

doc/api/crypto.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1548,7 +1548,7 @@ If `privateKey` is not a [`KeyObject`][], this function behaves as if
15481548
object, the following additional properties can be passed:
15491549

15501550
* `dsaEncoding` {string} For DSA and ECDSA, this option specifies the
1551-
format of the generated signature. It can be one of the following:
1551+
format of the signature. It can be one of the following:
15521552
* `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`.
15531553
* `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363.
15541554
* `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
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:
@@ -3840,7 +3840,7 @@ passed to [`crypto.createPrivateKey()`][]. If it is an object, the following
38403840
additional properties can be passed:
38413841

38423842
* `dsaEncoding` {string} For DSA and ECDSA, this option specifies the
3843-
format of the generated signature. It can be one of the following:
3843+
format of the signature. It can be one of the following:
38443844
* `'der'` (default): DER-encoded ASN.1 signature structure encoding `(r, s)`.
38453845
* `'ieee-p1363'`: Signature format `r || s` as proposed in IEEE-P1363.
38463846
* `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)