• Home
  • Raw
  • Download

Lines Matching refs:wrap_socket

50 by SSL sockets created through the :meth:`SSLContext.wrap_socket` method.
70 :meth:`SSLContext.wrap_socket` of an :class:`SSLContext` instance to wrap
73 settings. The old :func:`wrap_socket` function is deprecated since it is
86 with context.wrap_socket(sock, server_hostname=hostname) as ssock:
98 with context.wrap_socket(sock, server_hostname=hostname) as ssock:
110 with context.wrap_socket(sock, server_side=True) as ssock:
428 :meth:`SSLContext.wrap_socket`. The call will attempt to validate the
506 .. function:: wrap_socket(sock, keyfile=None, certfile=None, \
525 :meth:`SSLContext.wrap_socket`.
530 :meth:`SSLContext.wrap_socket` instead of :func:`wrap_socket`. The
544 parameter to :func:`wrap_socket`. Except for :const:`PROTOCOL_TLS_CLIENT`,
557 parameter to :func:`wrap_socket`. In client mode, :const:`CERT_OPTIONAL`
569 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
574 parameter to :func:`wrap_socket`. In this mode, certificates are
589 value of the ``ca_certs`` parameter to :func:`wrap_socket`.
1092 :meth:`SSLContext.wrap_socket` method.
1104 :meth:`SSLContext.wrap_socket` to wrap a socket.
1108 :meth:`~SSLContext.wrap_socket`. In earlier versions, it was possible
1355 socket was created using the deprecated :func:`wrap_socket` function
1356 (rather than :meth:`SSLContext.wrap_socket`), this is a custom context
1768 .. method:: SSLContext.wrap_socket(sock, server_side=False, \
1839 same meaning as in :meth:`SSLContext.wrap_socket`.
1873 :meth:`~SSLContext.wrap_socket` in order to match the hostname. Enabling
1888 ssl_sock = context.wrap_socket(s, server_hostname='www.verisign.com')
2108 and :func:`wrap_socket` needs to be passed. If the private key is stored
2198 >>> conn = context.wrap_socket(socket.socket(socket.AF_INET),
2294 new socket from the other end, and use the context's :meth:`SSLContext.wrap_socket`
2299 connstream = context.wrap_socket(newsocket, server_side=True)
2481 :meth:`~SSLContext.wrap_socket`. An :class:`SSLObject` is always created