Lines Matching refs:wrap_socket
53 by SSL sockets created through the :meth:`SSLContext.wrap_socket` method.
138 Python 2.7.9, it can be more flexible to use :meth:`SSLContext.wrap_socket`
141 .. function:: wrap_socket(sock, keyfile=None, certfile=None, server_side=False, cert_reqs=CERT_NONE…
154 :meth:`accept` method. :func:`wrap_socket` may raise :exc:`SSLError`.
425 same format as used for the same parameter in :func:`wrap_socket`. The call
509 parameter to :func:`wrap_socket`. In this mode (the default), no
519 parameter to :func:`wrap_socket`. In this mode no certificates will be
526 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
531 parameter to :func:`wrap_socket`. In this mode, certificates are
537 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
1009 socket was created using the top-level :func:`wrap_socket` function
1010 (rather than :meth:`SSLContext.wrap_socket`), this is a custom context
1255 .. method:: SSLContext.wrap_socket(sock, server_side=False, \
1266 :func:`wrap_socket` function.
1306 :meth:`~SSLContext.wrap_socket` in order to match the hostname.
1318 ssl_sock = context.wrap_socket(s, server_hostname='www.verisign.com')
1442 and :func:`wrap_socket` needs to be passed. If the private key is stored
1532 >>> conn = context.wrap_socket(socket.socket(socket.AF_INET),
1628 new socket from the other end, and use the context's :meth:`SSLContext.wrap_socket`
1633 connstream = context.wrap_socket(newsocket, server_side=True)