Lines Matching refs:sslobj
2308 sslobj = ctx.wrap_bio(incoming, outgoing, False,
2310 self.assertIs(sslobj._sslobj.owner, sslobj)
2311 self.assertIsNone(sslobj.cipher())
2312 self.assertIsNone(sslobj.version())
2313 self.assertIsNotNone(sslobj.shared_ciphers())
2314 self.assertRaises(ValueError, sslobj.getpeercert)
2316 self.assertIsNone(sslobj.get_channel_binding('tls-unique'))
2317 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
2318 self.assertTrue(sslobj.cipher())
2319 self.assertIsNotNone(sslobj.shared_ciphers())
2320 self.assertIsNotNone(sslobj.version())
2321 self.assertTrue(sslobj.getpeercert())
2323 self.assertTrue(sslobj.get_channel_binding('tls-unique'))
2325 self.ssl_io_loop(sock, incoming, outgoing, sslobj.unwrap)
2330 self.assertRaises(ssl.SSLError, sslobj.write, b'foo')
2341 sslobj = ctx.wrap_bio(incoming, outgoing, False)
2342 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
2344 self.ssl_io_loop(sock, incoming, outgoing, sslobj.write, req)
2345 buf = self.ssl_io_loop(sock, incoming, outgoing, sslobj.read, 1024)
2347 self.ssl_io_loop(sock, incoming, outgoing, sslobj.unwrap)