/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 321 ss = ssl.wrap_socket(s) 330 with closing(ssl.wrap_socket(s)) as ss: 344 with closing(ssl.wrap_socket(s)) as ss: 351 ssl.wrap_socket, sock, keyfile=CERTFILE) 354 ssl.wrap_socket, sock, server_side=True) 357 ssl.wrap_socket, sock, server_side=True, certfile="") 358 with closing(ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE)) as s: 363 ssl.wrap_socket(sock, certfile=NONEXISTINGCERT) 367 ssl.wrap_socket(sock, 372 ssl.wrap_socket(sock, [all …]
|
D | test_imaplib.py | 43 connstream = ssl.wrap_socket(newsocket,
|
D | ssl_servers.py | 37 sslconn = self.context.wrap_socket(sock, server_side=True)
|
D | test_poplib.py | 238 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 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) [all …]
|
D | test_smtpnet.py | 14 sock = context.wrap_socket(sock, server_hostname=host)
|
D | ssl_servers.py | 37 sslconn = self.context.wrap_socket(sock, server_side=True)
|
D | test_poplib.py | 157 tls_sock = context.wrap_socket(self.socket,
|
D | test_nntplib.py | 1504 def wrap_socket(sock, **args): member in bypass_context 1549 client = context.wrap_socket(
|
/external/python/cpython3/Lib/ |
D | poplib.py | 402 self.sock = context.wrap_socket(self.sock, 448 sock = self.context.wrap_socket(sock,
|
D | ssl.py | 393 def wrap_socket(self, sock, server_side=False, member in SSLContext 1106 newsock = self.context.wrap_socket(newsock, 1131 def wrap_socket(sock, keyfile=None, certfile=None, function 1216 with context.wrap_socket(sock) as sslsock:
|
D | smtplib.py | 769 self.sock = context.wrap_socket(self.sock, 1036 new_socket = self.context.wrap_socket(new_socket,
|
D | ftplib.py | 758 self.sock = self.context.wrap_socket(self.sock, 798 conn = self.context.wrap_socket(conn,
|
D | imaplib.py | 803 self.sock = ssl_context.wrap_socket(self.sock, 1284 return self.ssl_context.wrap_socket(sock,
|
D | nntplib.py | 292 return context.wrap_socket(sock, server_hostname=hostname)
|
/external/python/cpython2/Lib/ |
D | ssl.py | 355 def wrap_socket(self, sock, server_side=False, member in SSLContext 889 newsock = self.context.wrap_socket(newsock, 931 def wrap_socket(sock, keyfile=None, certfile=None, function 1017 with closing(context.wrap_socket(sock)) as sslsock:
|
D | smtplib.py | 649 self.sock = ssl.wrap_socket(self.sock, keyfile, certfile) 807 new_socket = ssl.wrap_socket(new_socket, self.keyfile, self.certfile)
|
D | poplib.py | 360 self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
|
D | ftplib.py | 680 self.sock = self.context.wrap_socket(self.sock, 712 conn = self.context.wrap_socket(conn,
|
D | httplib.py | 1262 self.sock = self._context.wrap_socket(self.sock,
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 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`. [all …]
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 50 by SSL sockets created through the :meth:`SSLContext.wrap_socket` method. 143 Python 3.2, it can be more flexible to use :meth:`SSLContext.wrap_socket` 146 .. function:: wrap_socket(sock, keyfile=None, certfile=None, server_side=False, cert_reqs=CERT_NONE… 159 :meth:`accept` method. :func:`wrap_socket` may raise :exc:`SSLError`. 439 same format as used for the same parameter in :func:`wrap_socket`. The call 528 parameter to :func:`wrap_socket`. In this mode (the default), no 538 parameter to :func:`wrap_socket`. In this mode no certificates will be 545 value of the ``ca_certs`` parameter to :func:`wrap_socket`. 550 parameter to :func:`wrap_socket`. In this mode, certificates are 556 value of the ``ca_certs`` parameter to :func:`wrap_socket`. [all …]
|
/external/autotest/client/cros/ |
D | httpd.py | 218 self.socket = ssl.wrap_socket(_socket,
|
/external/python/cpython3/Lib/asyncio/ |
D | test_utils.py | 125 ssock = context.wrap_socket(request, server_side=True)
|
/external/python/cpython3/Lib/http/ |
D | client.py | 1399 self.sock = self._context.wrap_socket(self.sock,
|