From e6a4155b70d60e364df6a54a80bad7171f87c095 Mon Sep 17 00:00:00 2001 From: Jonas Date: Sun, 23 Mar 2025 10:51:41 -0400 Subject: [PATCH] doc: remove cryptoStream API reference PR-URL: https://github.com/nodejs/node/pull/57579 Reviewed-By: James M Snell Reviewed-By: Luigi Pinca Reviewed-By: Yagiz Nizipli --- doc/api/deprecations.md | 3 +-- doc/api/tls.md | 23 ----------------------- 2 files changed, 1 insertion(+), 25 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 739d591b8eb..6fa684a3785 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -940,7 +940,7 @@ changes: Type: End-of-Life -The [`tls.CryptoStream`][] class was removed. Please use +The `tls.CryptoStream` class was removed. Please use [`tls.TLSSocket`][] instead. ### DEP0043: `tls.SecurePair` @@ -3994,7 +3994,6 @@ When an `args` array is passed to [`child_process.execFile`][] or [`child_proces [`timeout.ref()`]: timers.md#timeoutref [`timeout.refresh()`]: timers.md#timeoutrefresh [`timeout.unref()`]: timers.md#timeoutunref -[`tls.CryptoStream`]: tls.md#class-tlscryptostream [`tls.SecureContext`]: tls.md#tlscreatesecurecontextoptions [`tls.TLSSocket`]: tls.md#class-tlstlssocket [`tls.checkServerIdentity()`]: tls.md#tlscheckserveridentityhostname-cert diff --git a/doc/api/tls.md b/doc/api/tls.md index ddb8a2c108e..1892b8e4533 100644 --- a/doc/api/tls.md +++ b/doc/api/tls.md @@ -553,29 +553,6 @@ appends a hint suggesting that if the root CA is installed locally, try running with the `--use-system-ca` flag to direct developers towards a secure solution, to prevent unsafe workarounds. -## Class: `tls.CryptoStream` - - - -> Stability: 0 - Deprecated: Use [`tls.TLSSocket`][] instead. - -The `tls.CryptoStream` class represents a stream of encrypted data. This class -is deprecated and should no longer be used. - -### `cryptoStream.bytesWritten` - - - -The `cryptoStream.bytesWritten` property returns the total number of bytes -written to the underlying socket _including_ the bytes required for the -implementation of the TLS protocol. - ## Class: `tls.Server`