/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 328 ss = ssl.wrap_socket(s) 337 with closing(ssl.wrap_socket(s)) as ss: 351 with closing(ssl.wrap_socket(s)) as ss: 358 ssl.wrap_socket, sock, keyfile=CERTFILE) 361 ssl.wrap_socket, sock, server_side=True) 364 ssl.wrap_socket, sock, server_side=True, certfile="") 365 with closing(ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE)) as s: 370 ssl.wrap_socket(sock, certfile=NONEXISTINGCERT) 374 ssl.wrap_socket(sock, 379 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 | 248 self.socket = ssl.wrap_socket(self.socket, certfile=CERTFILE,
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 302 return context.wrap_socket(sock, **kwargs) 608 ssl.wrap_socket, sock, keyfile=CERTFILE) 611 ssl.wrap_socket, sock, server_side=True) 614 ssl.wrap_socket, sock, server_side=True, certfile="") 615 with ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE) as s: 620 ssl.wrap_socket(sock, certfile=NONEXISTINGCERT) 624 ssl.wrap_socket(sock, 629 ssl.wrap_socket(sock, 857 self.assertRaises(ValueError, ctx.wrap_socket, sock, True, 1006 ctx.wrap_socket(s) [all …]
|
D | test_smtpnet.py | 15 sock = context.wrap_socket(sock, server_hostname=host)
|
D | ssl_servers.py | 37 sslconn = self.context.wrap_socket(sock, server_side=True)
|
/external/python/httplib2/tests/ |
D | test_https.py | 118 return context.wrap_socket(server, server_side=True) 147 return context.wrap_socket(server, server_side=True) 170 return context.wrap_socket(server, server_side=True) 197 return context.wrap_socket(server, server_side=True)
|
/external/python/setuptools/setuptools/ |
D | ssl_support.py | 191 self.sock = ctx.wrap_socket(sock, server_hostname=actual_host) 194 self.sock = ssl.wrap_socket(
|
/external/grpc-grpc/test/core/http/ |
D | test_server.py | 55 httpd.socket = ssl.wrap_socket(httpd.socket, certfile=_PEM, keyfile=_KEY, server_side=True)
|
/external/python/cpython3/Lib/ |
D | poplib.py | 410 self.sock = context.wrap_socket(self.sock, 456 sock = self.context.wrap_socket(sock,
|
D | ssl.py | 494 def wrap_socket(self, sock, server_side=False, member in SSLContext 1355 newsock = self.context.wrap_socket(newsock, 1385 def wrap_socket(sock, keyfile=None, certfile=None, function 1405 return context.wrap_socket( 1484 with context.wrap_socket(sock) as sslsock:
|
D | ftplib.py | 749 self.sock = self.context.wrap_socket(self.sock, server_hostname=self.host) 788 conn = self.context.wrap_socket(conn,
|
D | smtplib.py | 774 self.sock = context.wrap_socket(self.sock, 1041 new_socket = self.context.wrap_socket(new_socket,
|
/external/python/httplib2/python2/httplib2/test/ |
D | miniserver.py | 42 self.socket = ssl.wrap_socket(
|
/external/python/cpython2/Lib/ |
D | ssl.py | 361 def wrap_socket(self, sock, server_side=False, member in SSLContext 895 newsock = self.context.wrap_socket(newsock, 937 def wrap_socket(sock, keyfile=None, certfile=None, function 1023 with closing(context.wrap_socket(sock)) as sslsock:
|
D | smtplib.py | 650 self.sock = ssl.wrap_socket(self.sock, keyfile, certfile) 808 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 | 692 self.sock = self.context.wrap_socket(self.sock, 724 conn = self.context.wrap_socket(conn,
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 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: 436 :meth:`SSLContext.wrap_socket`. The call will attempt to validate the 514 .. function:: wrap_socket(sock, keyfile=None, certfile=None, \ 533 :meth:`SSLContext.wrap_socket`. 538 :meth:`SSLContext.wrap_socket` instead of :func:`wrap_socket`. The [all …]
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 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`. [all …]
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.7.0b2.rst | 98 constructors. Users were suppose to use ssl.wrap_socket() or SSLContext. 432 The ssl module function ssl.wrap_socket() has been de-emphasized and 434 SSLContext.wrap_socket() method.
|
D | 3.9.0rc2.rst | 258 ssl.wrap_socket() now raises ssl.SSLEOFError rather than OSError when peer
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | functional.py | 141 ssl_sock = ssl_context.wrap_socket(
|
/external/autotest/client/cros/ |
D | httpd.py | 251 self.socket = ssl.wrap_socket(_socket,
|