โมดูลNode.js TLS
ความหมายและการใช้งาน
โมดูล TLS มีวิธีการใช้งาน TLS (Transport Layer Security) และ SSL (Secure Socket Layer)
ไวยากรณ์
ไวยากรณ์สำหรับการรวมโมดูล TLS ในแอปพลิเคชันของคุณ:
var tls = require('tls');
คุณสมบัติและวิธีการ TLS
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 |