Lines Matching refs:wrap_socket
56 by SSL sockets created through the :meth:`SSLContext.wrap_socket` method.
141 Python 2.7.9, it can be more flexible to use :meth:`SSLContext.wrap_socket`
144 .. function:: wrap_socket(sock, keyfile=None, certfile=None, server_side=False, cert_reqs=CERT_NONE…
157 :meth:`accept` method. :func:`wrap_socket` may raise :exc:`SSLError`.
438 same format as used for the same parameter in :func:`wrap_socket`. The call
522 parameter to :func:`wrap_socket`. In this mode (the default), no
532 parameter to :func:`wrap_socket`. In this mode no certificates will be
539 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
544 parameter to :func:`wrap_socket`. In this mode, certificates are
550 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
1038 socket was created using the top-level :func:`wrap_socket` function
1039 (rather than :meth:`SSLContext.wrap_socket`), this is a custom context
1289 .. method:: SSLContext.wrap_socket(sock, server_side=False, \
1300 :func:`wrap_socket` function.
1330 :meth:`~SSLContext.wrap_socket` in order to match the hostname.
1342 ssl_sock = context.wrap_socket(s, server_hostname='www.verisign.com')
1466 and :func:`wrap_socket` needs to be passed. If the private key is stored
1556 >>> conn = context.wrap_socket(socket.socket(socket.AF_INET),
1652 new socket from the other end, and use the context's :meth:`SSLContext.wrap_socket`
1657 connstream = context.wrap_socket(newsocket, server_side=True)