diff options
author | Kamat, Trivikram <16024985+trivikr@users.noreply.github.com> | 2019-08-25 04:16:48 +0300 |
---|---|---|
committer | Ruben Bridgewater <ruben@bridgewater.de> | 2019-09-04 17:48:23 +0300 |
commit | ae810cc8d5d3dcb04b30db0c229422cc5b3ec873 (patch) | |
tree | 4c4111f4b901a9c869e4a6b3241cb66ff407d190 /doc/api | |
parent | a94afedc9b5ef5f2a1448f2b2e4c65531dc0b5dc (diff) |
doc,crypto: add extends for derived classes
PR-URL: https://github.com/nodejs/node/pull/29302
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Diffstat (limited to 'doc/api')
-rw-r--r-- | doc/api/crypto.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md index 9dadac39464..6db84e4af73 100644 --- a/doc/api/crypto.md +++ b/doc/api/crypto.md @@ -169,6 +169,8 @@ console.log(cert.verifySpkac(Buffer.from(spkac))); added: v0.1.94 --> +* Extends: {stream.Transform} + Instances of the `Cipher` class are used to encrypt data. The class can be used in one of two ways: @@ -354,6 +356,8 @@ The `cipher.update()` method can be called multiple times with new data until added: v0.1.94 --> +* Extends: {stream.Transform} + Instances of the `Decipher` class are used to decrypt data. The class can be used in one of two ways: @@ -950,6 +954,8 @@ console.log(aliceSecret === bobSecret); added: v0.1.92 --> +* Extends: {stream.Transform} + The `Hash` class is a utility for creating hash digests of data. It can be used in one of two ways: @@ -1044,6 +1050,8 @@ This can be called many times with new data as it is streamed. added: v0.1.94 --> +* Extends: {stream.Transform} + The `Hmac` class is a utility for creating cryptographic HMAC digests. It can be used in one of two ways: @@ -1252,6 +1260,8 @@ or `'private'` for private (asymmetric) keys. added: v0.1.92 --> +* Extends: {stream.Writable} + The `Sign` class is a utility for generating signatures. It can be used in one of two ways: @@ -1377,6 +1387,8 @@ This can be called many times with new data as it is streamed. added: v0.1.92 --> +* Extends: {stream.Writable} + The `Verify` class is a utility for verifying signatures. It can be used in one of two ways: |