Home
last modified time | relevance | path

Searched refs:cert_time_ok (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_ssl.py684 def cert_time_ok(self, timestring, timestamp): member in BasicSocketTests
696 self.cert_time_ok("May 9 00:00:00 2007 GMT", 1178668800.0)
697 self.cert_time_ok("Jan 5 09:34:43 2018 GMT", 1515144883.0)
702 self.cert_time_ok(timestring, ts)
706 self.cert_time_ok("Jan 05 09:34:43 2018 GMT", ts)
708 self.cert_time_ok("JaN 5 09:34:43 2018 GmT", ts)
719 self.cert_time_ok("Dec 31 23:59:60 2008 GMT", newyear_ts)
721 self.cert_time_ok("Jan 1 00:00:00 2009 GMT", newyear_ts)
723 self.cert_time_ok("Jan 5 09:34:59 2018 GMT", 1515144899)
725 self.cert_time_ok("Jan 5 09:34:60 2018 GMT", 1515144900)
[all …]
/external/python/cpython3/Lib/test/
Dtest_ssl.py1009 def cert_time_ok(self, timestring, timestamp): member in BasicSocketTests
1021 self.cert_time_ok("May 9 00:00:00 2007 GMT", 1178668800.0)
1022 self.cert_time_ok("Jan 5 09:34:43 2018 GMT", 1515144883.0)
1027 self.cert_time_ok(timestring, ts)
1031 self.cert_time_ok("Jan 05 09:34:43 2018 GMT", ts)
1033 self.cert_time_ok("JaN 5 09:34:43 2018 GmT", ts)
1044 self.cert_time_ok("Dec 31 23:59:60 2008 GMT", newyear_ts)
1046 self.cert_time_ok("Jan 1 00:00:00 2009 GMT", newyear_ts)
1048 self.cert_time_ok("Jan 5 09:34:59 2018 GMT", 1515144899)
1050 self.cert_time_ok("Jan 5 09:34:60 2018 GMT", 1515144900)
[all …]