Home
last modified time | relevance | path

Searched refs:cert_time (Results 1 – 7 of 7) sorted by relevance

/external/openscreen/cast/common/certificate/
Dcast_crl_unittest.cc73 const DateTime& cert_time, in TestVerifyRevocation() argument
87 Error result = VerifyDeviceCert(der_certs, cert_time, &context, &policy, in TestVerifyRevocation()
/external/python/cpython2/Lib/
Dssl.py953 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/
Dssl.py1413 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/
Dtest_ssl.py124 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/
Dtest_ssl.py270 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/
Dssl.rst404 .. 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/
Dssl.rst401 .. function:: cert_time_to_seconds(cert_time)
403 Return the time in seconds since the Epoch, given the ``cert_time``