Skip to main content
constants.SSL_OP_CIPHER_SERVER_PREFERENCE - crypto - Node documentation
variable constants.SSL_OP_CIPHER_SERVER_PREFERENCE

Usage in Deno

import { constants } from "node:crypto";

Attempts to use the server's preferences instead of the client's when selecting a cipher. See https://www.openssl.org/docs/man1.0.2/ssl/SSL_CTX_set_options.html.

Type

number
Back to top