Node.js TLS Modülü
Tanım ve Kullanım
TLS modülü, TLS (Aktarım Katmanı Güvenliği) ve SSL (Güvenli Yuva Katmanı) uygulamanın bir yolunu sağlar.
Sözdizimi
TLS modülünü uygulamanıza dahil etmek için sözdizimi:
var tls = require('tls');
TLS Özellikleri ve Yöntemleri
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 |