| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 3bfe199 commit 47f2f45
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -106,7 +106,9 @@ console.log(Certificate.verifySpkac(Buffer.from(spkac))); | |||
| 106 | 106 | ||
| 107 | 107 | ### Legacy API | |
| 108 | 108 | ||
| 109 | - As a still supported legacy interface, it is possible to create new instances of | ||
| 109 | + > Stability: 0 - Deprecated | ||
| 110 | + | ||
| 111 | + As a legacy interface, it is possible to create new instances of | ||
| 110 | 112 | the `crypto.Certificate` class as illustrated in the examples below. | |
| 111 | 113 | ||
| 112 | 114 | #### `new crypto.Certificate()` | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -2753,6 +2753,20 @@ Type: Documentation-only | |||
| 2753 | 2753 | ||
| 2754 | 2754 | [`socket.bufferSize`][] is just an alias for [`writable.writableLength`][]. | |
| 2755 | 2755 | ||
| 2756 | + <a id="DEP0XXX"></a> | ||
| 2757 | + ### DEP0XXX: `new crypto.Certificate()` | ||
| 2758 | + <!-- YAML | ||
| 2759 | + changes: | ||
| 2760 | + - version: REPLACEME | ||
| 2761 | + pr-url: https://github.com/nodejs/node/pull/34697 | ||
| 2762 | + description: Documentation-only deprecation. | ||
| 2763 | + --> | ||
| 2764 | + | ||
| 2765 | + Type: Documentation-only | ||
| 2766 | + | ||
| 2767 | + The [`crypto.Certificate()` constructor][] is deprecated. Use | ||
| 2768 | + [static methods of `crypto.Certificate()`][] instead. | ||
| 2769 | + | ||
| 2756 | 2770 | [`--pending-deprecation`]: cli.html#cli_pending_deprecation | |
| 2757 | 2771 | [`--throw-deprecation`]: cli.html#cli_throw_deprecation | |
| 2758 | 2772 | [`Buffer.allocUnsafeSlow(size)`]: buffer.html#buffer_static_method_buffer_allocunsafeslow_size | |
@@ -2776,6 +2790,7 @@ Type: Documentation-only | |||
| 2776 | 2790 | [`clearTimeout()`]: timers.html#timers_cleartimeout_timeout | |
| 2777 | 2791 | [`console.error()`]: console.html#console_console_error_data_args | |
| 2778 | 2792 | [`console.log()`]: console.html#console_console_log_data_args | |
| 2793 | + [`crypto.Certificate()` constructor]: crypto.html#crypto_legacy_api | ||
| 2779 | 2794 | [`crypto.DEFAULT_ENCODING`]: crypto.html#crypto_crypto_default_encoding | |
| 2780 | 2795 | [`crypto.createCipher()`]: crypto.html#crypto_crypto_createcipher_algorithm_password_options | |
| 2781 | 2796 | [`crypto.createCipheriv()`]: crypto.html#crypto_crypto_createcipheriv_algorithm_key_iv_options | |
@@ -2875,3 +2890,4 @@ Type: Documentation-only | |||
| 2875 | 2890 | [from_arraybuffer]: buffer.html#buffer_static_method_buffer_from_arraybuffer_byteoffset_length | |
| 2876 | 2891 | [from_string_encoding]: buffer.html#buffer_static_method_buffer_from_string_encoding | |
| 2877 | 2892 | [legacy `urlObject`]: url.html#url_legacy_urlobject | |
| 2893 | + [static methods of `crypto.Certificate()`]: crypto.html#crypto_class_certificate | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments