Node.js TLS - module

❮ Ingebouwde modules


Definitie en gebruik

De TLS-module biedt een manier om TLS (Transport Layer Security) en SSL (Secure Socket Layer) te implementeren.


Syntaxis

De syntaxis voor het opnemen van de TLS-module in uw applicatie:

var tls = require('tls');

TLS-eigenschappen en -methoden

Method Description
connect() Returns a Socket object
createSecureContext() Creates an object containing security details
createServer() Creates a Server object
getCiphers() Returns an array containing the supported SSL ciphers

❮ Ingebouwde modules