File
Blob: src/node/internal/internal_tls_constants.ts
| 1 | // Copyright (c) 2026 Cloudflare, Inc. |
| 2 | // Licensed under the Apache 2.0 license found in the LICENSE file or at: |
| 3 | // https://opensource.org/licenses/Apache-2.0 |
| 4 | |
| 5 | // Allow {CLIENT_RENEG_LIMIT} client-initiated session renegotiations |
| 6 | // every {CLIENT_RENEG_WINDOW} seconds. An error event is emitted if more |
| 7 | // renegotiations are seen. The settings are applied to all remote client |
| 8 | // connections. |
| 9 | export const CLIENT_RENEG_LIMIT = 3; |
| 10 | export const CLIENT_RENEG_WINDOW = 600; |
| 11 | export const DEFAULT_CIPHERS = ''; |
| 12 | export const DEFAULT_ECDH_CURVE = 'auto'; |
| 13 | export const DEFAULT_MIN_VERSION = 'TLSv1.2'; |
| 14 | export const DEFAULT_MAX_VERSION = 'TLSv1.3'; |
| 15 | export const rootCertificates = []; |