Node.js TLS 모듈

❮ 내장 모듈


정의 및 사용

TLS 모듈은 TLS(전송 계층 보안) 및 SSL(보안 소켓 계층)을 구현하는 방법을 제공합니다.


통사론

애플리케이션에 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

❮ 내장 모듈