Lines Matching refs:tls
12 const tls = require('tls');
30 const server = tls.createServer(soptions, mustCall(function(clearTextStream) {
44 const savedDefaults = tls.DEFAULT_CIPHERS;
45 tls.DEFAULT_CIPHERS = defaultCiphers || savedDefaults;
46 const client = tls.connect(port, localhost, coptions, mustCall(function() {
55 tls.DEFAULT_CIPHERS = savedDefaults;
82 // tls.DEFAULT_CIPHERS. All ciphers of the server are included in the
85 test(true, tls.DEFAULT_CIPHERS, 'AES256-SHA256');
89 // Ensure that `tls.DEFAULT_CIPHERS` is used when its a limited cipher set.