doc: fix crypto Verify cut-n-paste from Sign
Verify documentation had cut-n-pasted documentation from Sign. PR-URL: https://github.com/nodejs/node/pull/9796 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Evan Lucas <evanlucas@me.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Sam Roberts <vieuxtech@gmail.com> Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Prince John Wesley <princejohnwesley@gmail.com>
This commit is contained in:
parent
e27f14f0b4
commit
630c63ee68
@ -935,8 +935,8 @@ of two ways:
|
||||
- Using the [`verify.update()`][] and [`verify.verify()`][] methods to verify
|
||||
the signature.
|
||||
|
||||
The [`crypto.createSign()`][] method is used to create `Sign` instances.
|
||||
`Sign` objects are not to be created directly using the `new` keyword.
|
||||
The [`crypto.createVerify()`][] method is used to create `Verify` instances.
|
||||
`Verify` objects are not to be created directly using the `new` keyword.
|
||||
|
||||
Example: Using `Verify` objects as streams:
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user