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.py622 sslobj = self._sslpipe.ssl_object
627 peercert = sslobj.getpeercert()
642 cipher=sslobj.cipher(),
643 compression=sslobj.compression(),
644 ssl_object=sslobj,
/external/python/cpython3/Lib/test/
Dtest_ssl.py2105 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())
[all …]
/external/python/cpython3/Lib/
Dssl.py443 def shim_cb(sslobj, servername, sslctx): argument
445 return server_name_callback(sslobj, servername, sslctx)
656 sslobj = context._wrap_bio(
661 self._sslobj = sslobj
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py676 sslobj = client.get_extra_info('ssl_object')
677 self.assertIsNotNone(sslobj)
678 self.assertEqual(sslobj.compression(),
680 self.assertEqual(sslobj.cipher(),
682 self.assertEqual(sslobj.getpeercert(),
684 self.assertEqual(sslobj.compression(),