/external/python/cpython3/Lib/test/test_asyncio/ |
D | functional.py | 141 ssl_sock = ssl_context.wrap_socket( 147 ssl_sock.do_handshake() 149 ssl_sock.close() 154 self.__sock = ssl_sock
|
/external/python/cpython2/Lib/ |
D | ssl.py | 611 server_hostname, ssl_sock=self) 863 … self._sslobj = self.context._wrap_socket(self._sock, False, self.server_hostname, ssl_sock=self) 1043 ssl_sock = ctx._wrap_socket(sock, server_side=False) 1051 ssl_sock.do_handshake() 1053 return ssl_sock
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 331 PyObject *ssl_sock; member 574 char *server_hostname, PyObject *ssl_sock) in newPySSLSocket() argument 587 self->ssl_sock = NULL; in newPySSLSocket() 667 if (ssl_sock != Py_None) { in newPySSLSocket() 668 self->ssl_sock = PyWeakref_NewRef(ssl_sock, NULL); in newPySSLSocket() 669 if (self->ssl_sock == NULL) { in newPySSLSocket() 1679 Py_XDECREF(self->ssl_sock); in PySSL_dealloc() 3105 PyObject *hostname_obj, *ssl_sock = Py_None, *res; in context_wrap_socket() local 3113 &ssl_sock)) { in context_wrap_socket() 3118 "idna", &hostname, &ssl_sock)) in context_wrap_socket() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 2268 ssl_sock = ssl.wrap_socket(c) 3050 def servername_cb(ssl_sock, server_name, initial_context): argument 3053 ssl_sock.context = other_context 3089 def cb_returning_alert(ssl_sock, server_name, initial_context): argument 3104 def cb_raising(ssl_sock, server_name, initial_context): argument 3122 def cb_wrong_return_type(ssl_sock, server_name, initial_context): argument
|
D | test_urllib2_localnet.py | 578 def cb_sni(ssl_sock, server_name, initial_context): argument
|
/external/python/cpython3/Lib/test/ |
D | test_urllib2_localnet.py | 598 def cb_sni(ssl_sock, server_name, initial_context): argument
|
D | test_ssl.py | 3168 ssl_sock = test_wrap_socket(c) 4130 def servername_cb(ssl_sock, server_name, initial_context): argument 4133 ssl_sock.context = other_context 4169 def cb_returning_alert(ssl_sock, server_name, initial_context): argument 4183 def cb_raising(ssl_sock, server_name, initial_context): argument 4203 def cb_wrong_return_type(ssl_sock, server_name, initial_context): argument
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 124 ssl_sock = socket.ssl(sock, key_file, cert_file) 125 return httplib.FakeSocket(sock, ssl_sock)
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 1342 ssl_sock = context.wrap_socket(s, server_hostname='www.verisign.com') 1343 ssl_sock.connect(('www.verisign.com', 443))
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 1902 ssl_sock = context.wrap_socket(s, server_hostname='www.verisign.com') 1903 ssl_sock.connect(('www.verisign.com', 443))
|