/external/python/cpython3/Lib/test/test_asyncio/ |
D | functional.py | 148 ssl_sock = ssl_context.wrap_socket( 154 ssl_sock.do_handshake() 156 ssl_sock.close() 161 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 | 594 def cb_sni(ssl_sock, server_name, initial_context): argument
|
D | test_ssl.py | 3054 ssl_sock = test_wrap_socket(c) 4013 def servername_cb(ssl_sock, server_name, initial_context): argument 4016 ssl_sock.context = other_context 4052 def cb_returning_alert(ssl_sock, server_name, initial_context): argument 4066 def cb_raising(ssl_sock, server_name, initial_context): argument 4084 def cb_wrong_return_type(ssl_sock, server_name, initial_context): argument
|
/external/python/httplib2/python2/httplib2/ |
D | __init__.py | 117 ssl_sock = socket.ssl(sock, key_file, cert_file) 118 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 | 1888 ssl_sock = context.wrap_socket(s, server_hostname='www.verisign.com') 1889 ssl_sock.connect(('www.verisign.com', 443))
|
/external/scapy/doc/notebooks/ |
D | HTTP_2_Tuto.ipynb | 106 "ssl_sock = ssl_ctx.wrap_socket(s, server_hostname=dn)" 124 "ssl_sock.connect(ip_and_port)\n", 125 "assert('h2' == ssl_sock.selected_alpn_protocol())" 155 "ss = supersocket.SSLStreamSocket(ssl_sock, basecls=h2.H2Frame)\n",
|