Searched refs:cert_time (Results 1 – 7 of 7) sorted by relevance
/external/openscreen/cast/common/certificate/ |
D | cast_crl_unittest.cc | 73 const DateTime& cert_time, in TestVerifyRevocation() argument 87 Error result = VerifyDeviceCert(der_certs, cert_time, &context, &policy, in TestVerifyRevocation()
|
/external/python/cpython2/Lib/ |
D | ssl.py | 953 def cert_time_to_seconds(cert_time): argument 972 month_number = months.index(cert_time[:3].title()) + 1 975 'format "%%b%s"' % (cert_time, time_format)) 978 tt = strptime(cert_time[3:], time_format)
|
/external/python/cpython3/Lib/ |
D | ssl.py | 1413 def cert_time_to_seconds(cert_time): argument 1432 month_number = months.index(cert_time[:3].title()) + 1 1435 'format "%%b%s"' % (cert_time, time_format)) 1438 tt = strptime(cert_time[3:], time_format)
|
/external/python/cpython2/Lib/test/ |
D | test_ssl.py | 124 def asn1time(cert_time): argument 129 dt = datetime.datetime.strptime(cert_time, fmt) 131 cert_time = dt.strftime(fmt) 133 if cert_time[4] == "0": 134 cert_time = cert_time[:4] + " " + cert_time[5:] 136 return cert_time 704 self.assertEqual(ssl.cert_time_to_seconds(cert_time=timestring), ts)
|
/external/python/cpython3/Lib/test/ |
D | test_ssl.py | 270 def asn1time(cert_time): argument 275 dt = datetime.datetime.strptime(cert_time, fmt) 277 cert_time = dt.strftime(fmt) 279 if cert_time[4] == "0": 280 cert_time = cert_time[:4] + " " + cert_time[5:] 282 return cert_time 1029 self.assertEqual(ssl.cert_time_to_seconds(cert_time=timestring), ts)
|
/external/python/cpython2/Doc/library/ |
D | ssl.rst | 404 .. function:: cert_time_to_seconds(cert_time) 406 Return the time in seconds since the Epoch, given the ``cert_time``
|
/external/python/cpython3/Doc/library/ |
D | ssl.rst | 401 .. function:: cert_time_to_seconds(cert_time) 403 Return the time in seconds since the Epoch, given the ``cert_time``
|