Home
last modified time | relevance | path

Searched refs:do_handshake (Results 1 – 25 of 26) sorted by relevance

12

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_sslproto.py33 def connection_made(self, ssl_proto, do_handshake=None): argument
37 if do_handshake:
38 sslpipe.do_handshake.side_effect = do_handshake
42 sslpipe.do_handshake.side_effect = mock_handshake
53 def do_handshake(callback): function
60 self.connection_made(ssl_proto, do_handshake)
Dtest_selector_events.py1175 self.assertTrue(self.sslsock.do_handshake.called)
1182 self.sslsock.do_handshake.side_effect = ssl.SSLWantReadError
1188 self.sslsock.do_handshake.side_effect = ssl.SSLWantWriteError
1194 self.sslsock.do_handshake.side_effect = exc
1206 self.sslsock.do_handshake.side_effect = exc
1220 self.sslsock.do_handshake.side_effect = exc
1483 self.sslsock.do_handshake.side_effect = ssl.SSLWantReadError
/external/python/cpython3/Lib/
Dssl.py681 def do_handshake(self): member in SSLObject
683 self._sslobj.do_handshake()
808 self.do_handshake()
1054 def do_handshake(self, block=False): member in SSLSocket
1061 self._sslobj.do_handshake()
1084 self.do_handshake()
/external/python/cpython2/Lib/
Dssl.py611 self.do_handshake()
833 def do_handshake(self, block=False): member in SSLSocket
840 self._sslobj.do_handshake()
867 self.do_handshake()
1045 ssl_sock.do_handshake()
/external/python/cpython3/Lib/asyncio/
Dsslproto.py118 def do_handshake(self, callback=None): member in _SSLPipe
201 self._sslobj.do_handshake()
635 ssldata = self._sslpipe.do_handshake(
Dselector_events.py866 self._sock.do_handshake()
/external/boringssl/src/ssl/
Dhandoff.cc169 if (ssl->do_handshake != nullptr || in SSL_apply_handback()
237 ssl->do_handshake = ssl_server_handshake; in SSL_apply_handback()
Dssl_lib.cc796 ssl->do_handshake = ssl_client_handshake; in SSL_set_connect_state()
801 ssl->do_handshake = ssl_server_handshake; in SSL_set_accept_state()
855 if (ssl->do_handshake == NULL) { in SSL_do_handshake()
884 if (ssl->do_handshake == NULL) { in SSL_connect()
893 if (ssl->do_handshake == NULL) { in SSL_accept()
968 if (ssl->do_handshake == NULL) { in ssl_read_impl()
1062 if (ssl->do_handshake == NULL) { in SSL_write()
1096 if (ssl->do_handshake == NULL) { in SSL_shutdown()
Dhandshake.cc614 hs->wait = ssl->do_handshake(hs); in ssl_run_handshake()
Dssl_x509.cc1083 if (ssl->do_handshake != NULL && !ssl->server) { in STACK_OF()
Dinternal.h2529 enum ssl_hs_wait_t (*do_handshake)(SSL_HANDSHAKE *hs);
Dssl_test.cc1541 bool do_handshake = true) { in ConnectClientAndServer() argument
1565 if (do_handshake && !CompleteHandshakes(client.get(), server.get())) { in ConnectClientAndServer()
/external/libevent/
Dbufferevent_openssl.c1015 do_handshake(struct bufferevent_openssl *bev_ssl) in do_handshake() function
1063 do_handshake(bev_ssl);/* XXX handle failure */ in be_openssl_handshakecb()
1075 do_handshake(bev_ssl);/* XXX handle failure */ in be_openssl_handshakeeventcb()
1094 return do_handshake(bev_ssl); in set_handshake_callbacks()
1127 return do_handshake(bev_ssl); in bufferevent_ssl_renegotiate()
DChangeLog149 …o be_openssl: don't use *_auto() in do_handshake() we can't have fd == -1 there (877280d Azat Khuz…
/external/python/cpython2/Lib/test/
Dtest_poplib.py250 self.socket.do_handshake()
Dtest_ssl.py1312 c.do_handshake()
1378 s.do_handshake()
1537 s.do_handshake()
1883 self.socket.do_handshake()
2111 s.do_handshake()
2779 sock.do_handshake()
Dtest_ftplib.py285 self.socket.do_handshake()
/external/python/cpython3/Lib/test/
Dtest_ssl.py1391 c.do_handshake()
1523 s.do_handshake()
1635 s.do_handshake()
1743 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
1766 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
2086 self.socket.do_handshake()
2359 s.do_handshake()
3072 sock.do_handshake()
Dtest_poplib.py172 self.socket.do_handshake()
Dtest_ftplib.py326 self.socket.do_handshake()
/external/python/cpython3/Doc/library/
Dssl.rst223 :meth:`SSLSocket.do_handshake` method. Calling
224 :meth:`SSLSocket.do_handshake` explicitly gives the program control over the
1018 .. method:: SSLSocket.do_handshake()
1208 :meth:`~SSLSocket.do_handshake` has been called to reuse a session.
1603 :meth:`SSLSocket.do_handshake`. The context's
2022 :meth:`SSLSocket.do_handshake` method has to be retried until it returns
2028 sock.do_handshake()
2103 - :meth:`~SSLSocket.do_handshake`
2114 call :meth:`~SSLSocket.do_handshake` to start the handshake.
/external/python/cpython2/Doc/library/
Dssl.rst214 :meth:`SSLSocket.do_handshake` method. Calling
215 :meth:`SSLSocket.do_handshake` explicitly gives the program control over the
866 .. method:: SSLSocket.do_handshake()
1303 :meth:`SSLSocket.do_handshake`. The context's
1684 :meth:`SSLSocket.do_handshake` method has to be retried until it returns
1690 sock.do_handshake()
/external/python/cpython3/Doc/whatsnew/
D3.5.rst1814 The :meth:`SSLSocket.do_handshake() <ssl.SSLSocket.do_handshake>`,
D3.4.rst2360 * :meth:`ssl.SSLSocket.getpeercert` and :meth:`ssl.SSLSocket.do_handshake`
/external/python/cpython2/Misc/
DNEWS6367 - The do_handshake() method of SSL objects now adjusts the blocking mode of the

12