Node.js TLS မော်ဂျူး
အဓိပ္ပါယ်နှင့် အသုံးပြုမှု
TLS module သည် TLS (Transport Layer Security) နှင့် SSL (Secure Socket Layer) ကို အကောင်အထည်ဖော်သည့်နည်းလမ်းကို ပံ့ပိုးပေးပါသည်။
အထားအသို
သင့်အပလီကေးရှင်းတွင် TLS module အပါအဝင် အထားအသို-
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 |