/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 | 231 return context.wrap_socket(sock, **kwargs) 538 ssl.wrap_socket, sock, keyfile=CERTFILE) 541 ssl.wrap_socket, sock, server_side=True) 544 ssl.wrap_socket, sock, server_side=True, certfile="") 545 with ssl.wrap_socket(sock, server_side=True, certfile=CERTFILE) as s: 550 ssl.wrap_socket(sock, certfile=NONEXISTINGCERT) 554 ssl.wrap_socket(sock, 559 ssl.wrap_socket(sock, 780 self.assertRaises(ValueError, ctx.wrap_socket, sock, True, 931 ctx.wrap_socket(s) [all …]
|
D | test_smtpnet.py | 14 sock = context.wrap_socket(sock, server_hostname=host)
|
D | ssl_servers.py | 36 sslconn = self.context.wrap_socket(sock, 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 | 405 self.sock = context.wrap_socket(self.sock, 451 sock = self.context.wrap_socket(sock,
|
D | ssl.py | 399 def wrap_socket(self, sock, server_side=False, member in SSLContext 1163 newsock = self.context.wrap_socket(newsock, 1199 def wrap_socket(sock, keyfile=None, certfile=None, function 1219 return context.wrap_socket( 1298 with context.wrap_socket(sock) as sslsock:
|
D | smtplib.py | 770 self.sock = context.wrap_socket(self.sock, 1038 new_socket = self.context.wrap_socket(new_socket,
|
D | ftplib.py | 760 self.sock = self.context.wrap_socket(self.sock, 800 conn = self.context.wrap_socket(conn,
|
D | imaplib.py | 811 self.sock = ssl_context.wrap_socket(self.sock, 1292 return self.ssl_context.wrap_socket(sock,
|
/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: 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 [all …]
|
/external/python/httplib2/python2/httplib2/test/ |
D | miniserver.py | 42 self.socket = ssl.wrap_socket(
|
/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. 433 The ssl module function ssl.wrap_socket() has been de-emphasized and 435 SSLContext.wrap_socket() method.
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | functional.py | 148 ssl_sock = ssl_context.wrap_socket(
|
D | utils.py | 162 ssock = context.wrap_socket(request, server_side=True)
|
/external/autotest/client/cros/ |
D | httpd.py | 249 self.socket = ssl.wrap_socket(_socket,
|