Lines Matching refs:sslobj
2105 sslobj = ctx.wrap_bio(incoming, outgoing, False,
2107 self.assertIs(sslobj._sslobj.owner, sslobj)
2108 self.assertIsNone(sslobj.cipher())
2109 self.assertIsNone(sslobj.version())
2110 self.assertIsNotNone(sslobj.shared_ciphers())
2111 self.assertRaises(ValueError, sslobj.getpeercert)
2113 self.assertIsNone(sslobj.get_channel_binding('tls-unique'))
2114 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
2115 self.assertTrue(sslobj.cipher())
2116 self.assertIsNotNone(sslobj.shared_ciphers())
2117 self.assertIsNotNone(sslobj.version())
2118 self.assertTrue(sslobj.getpeercert())
2120 self.assertTrue(sslobj.get_channel_binding('tls-unique'))
2122 self.ssl_io_loop(sock, incoming, outgoing, sslobj.unwrap)
2127 self.assertRaises(ssl.SSLError, sslobj.write, b'foo')
2137 sslobj = ctx.wrap_bio(incoming, outgoing, False)
2138 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
2140 self.ssl_io_loop(sock, incoming, outgoing, sslobj.write, req)
2141 buf = self.ssl_io_loop(sock, incoming, outgoing, sslobj.read, 1024)
2143 self.ssl_io_loop(sock, incoming, outgoing, sslobj.unwrap)