Node.jsTLSモジュール_

❮内蔵モジュール


定義と使用法

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

❮内蔵モジュール