Searched refs:cert_time_to_seconds (Results 1 – 8 of 8) sorted by relevance
685 self.assertEqual(ssl.cert_time_to_seconds(timestring), timestamp)689 ssl.cert_time_to_seconds(timestring)704 self.assertEqual(ssl.cert_time_to_seconds(cert_time=timestring), ts)2121 before = ssl.cert_time_to_seconds(cert['notBefore'])2122 after = ssl.cert_time_to_seconds(cert['notAfter'])
953 def cert_time_to_seconds(cert_time): function
1010 self.assertEqual(ssl.cert_time_to_seconds(timestring), timestamp)1014 ssl.cert_time_to_seconds(timestring)1029 self.assertEqual(ssl.cert_time_to_seconds(cert_time=timestring), ts)2890 before = ssl.cert_time_to_seconds(cert['notBefore'])2891 after = ssl.cert_time_to_seconds(cert['notAfter'])
1413 def cert_time_to_seconds(cert_time): function
404 .. function:: cert_time_to_seconds(cert_time)416 >>> timestamp = ssl.cert_time_to_seconds("Jan 5 09:34:43 2018 GMT")
1805 The :func:`~ssl.cert_time_to_seconds` function now interprets the input time2482 * The :func:`ssl.cert_time_to_seconds` function now interprets the input time
401 .. function:: cert_time_to_seconds(cert_time)413 >>> timestamp = ssl.cert_time_to_seconds("Jan 5 09:34:43 2018 GMT")
3823 ssl.cert_time_to_seconds() now interprets the given time string in the UTC