Node.js TLS - Modul

❮ Eingebaute Module


Definition und Verwendung

Das TLS-Modul bietet eine Möglichkeit, TLS (Transport Layer Security) und SSL (Secure Socket Layer) zu implementieren.


Syntax

Die Syntax zum Einbinden des TLS-Moduls in Ihre Anwendung:

var tls = require('tls');

TLS-Eigenschaften und -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

❮ Eingebaute Module