Searched refs:ssl_sock (Results 1 – 5 of 5) sorted by relevance
/external/python/cpython2/Lib/ |
D | ssl.py | 605 server_hostname, ssl_sock=self) 857 … self._sslobj = self.context._wrap_socket(self._sock, False, self.server_hostname, ssl_sock=self) 1037 ssl_sock = ctx._wrap_socket(sock, server_side=False) 1045 ssl_sock.do_handshake() 1047 return ssl_sock
|
/external/python/cpython2/Modules/ |
D | _ssl.c | 300 PyObject *ssl_sock; member 543 char *server_hostname, PyObject *ssl_sock) in newPySSLSocket() argument 556 self->ssl_sock = NULL; in newPySSLSocket() 600 if (ssl_sock != Py_None) { in newPySSLSocket() 601 self->ssl_sock = PyWeakref_NewRef(ssl_sock, NULL); in newPySSLSocket() 602 if (self->ssl_sock == NULL) { in newPySSLSocket() 1600 Py_XDECREF(self->ssl_sock); in PySSL_dealloc() 3010 PyObject *hostname_obj, *ssl_sock = Py_None, *res; in context_wrap_socket() local 3018 &ssl_sock)) { in context_wrap_socket() 3023 "idna", &hostname, &ssl_sock)) in context_wrap_socket() [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 2275 ssl_sock = ssl.wrap_socket(c) 3038 def servername_cb(ssl_sock, server_name, initial_context): argument 3041 ssl_sock.context = other_context 3077 def cb_returning_alert(ssl_sock, server_name, initial_context): argument 3092 def cb_raising(ssl_sock, server_name, initial_context): argument 3110 def cb_wrong_return_type(ssl_sock, server_name, initial_context): argument
|
D | test_urllib2_localnet.py | 594 def cb_sni(ssl_sock, server_name, initial_context): argument
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 1318 ssl_sock = context.wrap_socket(s, server_hostname='www.verisign.com') 1319 ssl_sock.connect(('www.verisign.com', 443))
|