Home
last modified time | relevance | path

Searched refs:sslobj (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython2/Lib/
Dpoplib.py360 self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
365 localbuf = self.sslobj.read()
395 sent = self.sslobj.write(line)
408 del self.sslobj, self.sock
Dsmtplib.py180 def __init__(self, sslobj): argument
181 self.sslobj = sslobj
191 chr = self.sslobj.read(1)
Dimaplib.py1181 self.sslobj = ssl.wrap_socket(self.sock, self.keyfile, self.certfile)
1182 self.file = self.sslobj.makefile('rb')
1199 sent = self.sslobj.write(data)
1225 return self.sslobj
Dhttplib.py1294 def FakeSocket (sock, sslobj): argument
1298 return sslobj
/external/python/cpython3/Lib/asyncio/
Dsslproto.py634 sslobj = self._sslpipe.ssl_object
639 peercert = sslobj.getpeercert()
656 cipher=sslobj.cipher(),
657 compression=sslobj.compression(),
658 ssl_object=sslobj,
/external/python/cpython3/Lib/test/
Dtest_ssl.py2308 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())
[all …]
/external/python/cpython3/Lib/
Dssl.py555 def shim_cb(sslobj, servername, sslctx): argument
557 return server_name_callback(sslobj, servername, sslctx)
865 sslobj = context._wrap_bio(
870 self._sslobj = sslobj
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py575 sslobj = client.get_extra_info('ssl_object')
576 self.assertIsNotNone(sslobj)
577 self.assertEqual(sslobj.compression(),
579 self.assertEqual(sslobj.cipher(),
581 self.assertEqual(sslobj.getpeercert(),
583 self.assertEqual(sslobj.compression(),