Lines Matching refs:sslobj
2203 sslobj = ctx.wrap_bio(incoming, outgoing, False,
2205 self.assertIs(sslobj._sslobj.owner, sslobj)
2206 self.assertIsNone(sslobj.cipher())
2207 self.assertIsNone(sslobj.version())
2208 self.assertIsNotNone(sslobj.shared_ciphers())
2209 self.assertRaises(ValueError, sslobj.getpeercert)
2211 self.assertIsNone(sslobj.get_channel_binding('tls-unique'))
2212 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
2213 self.assertTrue(sslobj.cipher())
2214 self.assertIsNotNone(sslobj.shared_ciphers())
2215 self.assertIsNotNone(sslobj.version())
2216 self.assertTrue(sslobj.getpeercert())
2218 self.assertTrue(sslobj.get_channel_binding('tls-unique'))
2220 self.ssl_io_loop(sock, incoming, outgoing, sslobj.unwrap)
2225 self.assertRaises(ssl.SSLError, sslobj.write, b'foo')
2235 sslobj = ctx.wrap_bio(incoming, outgoing, False)
2236 self.ssl_io_loop(sock, incoming, outgoing, sslobj.do_handshake)
2238 self.ssl_io_loop(sock, incoming, outgoing, sslobj.write, req)
2239 buf = self.ssl_io_loop(sock, incoming, outgoing, sslobj.read, 1024)
2241 self.ssl_io_loop(sock, incoming, outgoing, sslobj.unwrap)