Skip to main content
SecureContextOptions.dhparam - node__tls.d.ts - Node documentation
property SecureContextOptions.dhparam

Usage in Deno

```typescript import { type SecureContextOptions } from "node:node__tls.d.ts"; ```
`'auto'` or custom Diffie-Hellman parameters, required for non-ECDHE perfect forward secrecy. If omitted or invalid, the parameters are silently discarded and DHE ciphers will not be available. ECDHE-based perfect forward secrecy will still be available.

Type

string
| Buffer
| undefined