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.py628 sslobj = self._sslpipe.ssl_object
633 peercert = sslobj.getpeercert()
650 cipher=sslobj.cipher(),
651 compression=sslobj.compression(),
652 ssl_object=sslobj,
/external/python/cpython3/Lib/test/
Dtest_ssl.py2203 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())
[all …]
/external/python/cpython3/Lib/
Dssl.py538 def shim_cb(sslobj, servername, sslctx): argument
540 return server_name_callback(sslobj, servername, sslctx)
837 sslobj = context._wrap_bio(
842 self._sslobj = sslobj
/external/python/cpython3/Lib/test/test_asyncio/
Dtest_events.py550 sslobj = client.get_extra_info('ssl_object')
551 self.assertIsNotNone(sslobj)
552 self.assertEqual(sslobj.compression(),
554 self.assertEqual(sslobj.cipher(),
556 self.assertEqual(sslobj.getpeercert(),
558 self.assertEqual(sslobj.compression(),