Home
last modified time | relevance | path

Searched refs:TLSSocket (Results 1 – 25 of 42) sorted by relevance

12

/third_party/node/test/parallel/
Dtest-tls-socket-allow-half-open-option.js17 const socket = new tls.TLSSocket(new net.Socket(), { allowHalfOpen: true });
28 const socket = new tls.TLSSocket(duplex, { allowHalfOpen: true });
33 const socket = new tls.TLSSocket();
39 const socket = new tls.TLSSocket(undefined, { allowHalfOpen: true });
Dtest-tls-transport-destroy-after-own-gc.js12 const { TLSSocket } = require('tls');
17 let clientTLS = new TLSSocket(clientSide, { isServer: false });
Dtest-net-access-byteswritten.js15 assert.strictEqual(Object.getPrototypeOf(tls.TLSSocket).prototype.bytesWritten,
17 assert.strictEqual(tls.TLSSocket.prototype.bytesWritten, undefined);
Dtest-tls-error-servername.js12 const { connect, TLSSocket } = require('tls');
36 const server = new TLSSocket(serverSide, {
Dtest-tls-socket-constructor-alpn-options-parsing.js12 new tls.TLSSocket(null, {
24 const tlsSocket = new tls.TLSSocket(s, {
Dtest-tls-generic-stream.js9 const { TLSSocket, connect } = require('tls');
22 const serverTLS = new TLSSocket(serverSide, {
Dtest-tls-wrap-event-emmiter.js12 const TlsSocket = require('tls').TLSSocket;
Dtest-tls-socket-snicallback-without-server.js16 new tls.TLSSocket(serverSide, {
Dtest-http-upgrade-reconsume-stream.js16 new tls.TLSSocket(socket);
Dtest-tls-timeout-server-2.js41 assert.ok(s instanceof tls.TLSSocket);
Dtest-tls-request-timeout.js38 assert.ok(s instanceof tls.TLSSocket);
Dtest-https-timeout-server-2.js45 assert.ok(s instanceof tls.TLSSocket);
Dtest-tls-retain-handle-no-abort.js35 const c = new tls.TLSSocket();
Dtest-tls-delayed-attach-error.js20 const s = new tls.TLSSocket(c, {
Dtest-tls-socket-destroy.js19 const socket = new tls.TLSSocket(conn, options);
Dtest-tls-socket-failed-handshake-emits-error.js15 const s = new tls.TLSSocket(c, {
Dtest-tls-starttls-server.js20 const tlsSocket = new tls.TLSSocket(s, {
Dtest-tls-delayed-attach.js48 const s = new tls.TLSSocket(c, {
Dtest-tls-psk-server.js22 assert.ok(socket instanceof tls.TLSSocket);
Dtest-tls-socket-default-options.js60 (new tls.TLSSocket(null, client)).connect(pair.server.server.address().port)
Dtest-tls-exportkeyingmaterial.js19 const tlsSocket = new tls.TLSSocket(s, {
Dtest-tls-psk-circuit.js20 assert.ok(socket instanceof tls.TLSSocket);
/third_party/node/lib/
D_tls_wrap.js446 function TLSSocket(socket, opts) { class
521 ObjectSetPrototypeOf(TLSSocket.prototype, net.Socket.prototype);
522 ObjectSetPrototypeOf(TLSSocket, net.Socket);
523 exports.TLSSocket = TLSSocket;
574 TLSSocket.prototype.disableRenegotiation = function disableRenegotiation() {
578 TLSSocket.prototype._wrapHandle = function(wrap) {
636 TLSSocket.prototype._destroySSL = function _destroySSL() {
651 TLSSocket.prototype._init = function(socket, wrap) {
820 TLSSocket.prototype.renegotiate = function(options, callback) {
870 TLSSocket.prototype.exportKeyingMaterial = function(length, label, context) {
[all …]
Dtls.js365 this.cleartext = new exports.TLSSocket(socket2, {
390 exports.TLSSocket = _tls_wrap.TLSSocket;
/third_party/node/doc/api/
Dtls.md167 An `'error'` event is emitted on the [`tls.TLSSocket`][] instance when this
221 [`tls.TLSSocket.getTLSTicket()`][] returns a value, the session data contains a
326 [`tls.TLSSocket`][]s.
379 > Stability: 0 - Deprecated: Use [`tls.TLSSocket`][] instead.
400 > Stability: 0 - Deprecated: Use [`tls.TLSSocket`][] instead.
449 * `tlsSocket` {tls.TLSSocket} The `tls.TLSSocket` instance on which it was
589 * `tlsSocket` {tls.TLSSocket} The established TLS socket.
614 * `tlsSocket` {tls.TLSSocket} The `tls.TLSSocket` instance from which the
710 ## Class: `tls.TLSSocket`
720 Instances of `tls.TLSSocket` implement the duplex [Stream][] interface.
[all …]

12