mirror of
https://github.com/nodejs/node.git
synced 2026-11-21 12:59:16 -05:00
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: https://github.com/nodejs/node/pull/37459 Fixes: https://github.com/nodejs/node/issues/37454 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
97ebcdddcc
commit
4947ce5124
1 file changed
+2
-2
+2
-2
@@ -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:
|
||||
@@ -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:
|
||||
|
||||
Reference in new issue
Block a user