Lines Matching refs:wrap_socket
159 return context.wrap_socket(sock, **kwargs)
412 ssl.wrap_socket, sock, keyfile=CERTFILE)
415 ssl.wrap_socket, sock, server_side=True)
418 ssl.wrap_socket, sock, server_side=True, certfile="")
419 with ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE) as s:
424 ssl.wrap_socket(sock, certfile=NONEXISTINGCERT)
428 ssl.wrap_socket(sock,
433 ssl.wrap_socket(sock,
621 self.assertRaises(ValueError, ctx.wrap_socket, sock, True,
772 ctx.wrap_socket(s)
1389 with ctx.wrap_socket(c, False, do_handshake_on_connect=False) as c:
1535 with ctx.wrap_socket(socket.socket(socket.AF_INET)) as s:
1539 with ctx.wrap_socket(socket.socket(socket.AF_INET),
1545 with ctx.wrap_socket(socket.socket(socket.AF_INET)) as s:
1556 s = ctx.wrap_socket(socket.socket(socket.AF_INET))
1570 with ctx.wrap_socket(socket.socket(socket.AF_INET)) as s:
1578 with ctx.wrap_socket(socket.socket(socket.AF_INET)) as s:
1590 with ctx.wrap_socket(socket.socket(socket.AF_INET)) as s:
1599 with ctx.wrap_socket(socket.socket(socket.AF_INET)) as s:
1672 with ctx.wrap_socket(socket.socket(socket.AF_INET)) as s:
1684 with ctx1.wrap_socket(s) as ss:
1812 s = ctx.wrap_socket(socket.socket(socket.AF_INET),
1870 self.sslconn = self.server.context.wrap_socket(
2190 with client_context.wrap_socket(socket.socket(),
2352 s = context.wrap_socket(socket.socket(),
2399 with context.wrap_socket(socket.socket()) as s:
2409 with context.wrap_socket(socket.socket()) as s:
2419 with context.wrap_socket(socket.socket()) as s:
2439 with context.wrap_socket(socket.socket(),
2448 with context.wrap_socket(socket.socket(),
2460 context.wrap_socket(s)
3032 server = context.wrap_socket(server, server_side=True)
3050 client = context.wrap_socket(socket.socket())
3063 with context.wrap_socket(socket.socket()) as sock:
3070 with context.wrap_socket(socket.socket()) as sock:
3085 with context.wrap_socket(socket.socket()) as s:
3099 with context.wrap_socket(socket.socket()) as s:
3118 with context.wrap_socket(socket.socket()) as s:
3447 s = context.wrap_socket(socket.socket())
3465 with context.wrap_socket(socket.socket()) as s:
3540 with context.wrap_socket(socket.socket()) as s:
3551 with context.wrap_socket(socket.socket()) as s:
3559 with context.wrap_socket(socket.socket()) as s:
3568 with context2.wrap_socket(socket.socket()) as s: