Home
last modified time | relevance | path

Searched refs:CertificateError (Results 1 – 9 of 9) sorted by relevance

/third_party/python/Lib/
Dssl.py272 CertificateError = SSLCertVerificationError variable
294 raise CertificateError(
301 raise CertificateError(
307 raise CertificateError(
313 raise CertificateError(
421 raise CertificateError("hostname %r "
425 raise CertificateError("hostname %r "
429 raise CertificateError("no appropriate commonName or "
/third_party/python/Lib/asyncio/
Dsslproto.py215 except (ssl.SSLError, ssl.CertificateError) as exc:
637 if isinstance(exc, ssl.CertificateError):
/third_party/python/Lib/test/
Dtest_imaplib.py558 with self.assertRaisesRegex(ssl.CertificateError,
963 ssl.CertificateError,
Dtest_ssl.py695 self.assertRaises(ssl.CertificateError,
851 ssl.CertificateError,
857 ssl.CertificateError,
863 ssl.CertificateError,
869 ssl.CertificateError,
875 ssl.CertificateError,
3069 ssl.CertificateError,
3205 with self.assertRaises(ssl.CertificateError):
Dtest_httplib.py1809 with self.assertRaises(ssl.CertificateError):
1815 with self.assertRaises(ssl.CertificateError):
1841 with self.assertRaises(ssl.CertificateError):
Dtest_poplib.py386 with self.assertRaises(ssl.CertificateError):
Dtest_ftplib.py1017 with self.assertRaises(ssl.CertificateError):
1023 with self.assertRaises(ssl.CertificateError):
/third_party/python/Doc/library/
Dssl.rst286 .. exception:: CertificateError
368 :exc:`CertificateError` is raised on failure. On success, the function
377 ssl.CertificateError: hostname 'example.org' doesn't match 'example.com'
/third_party/python/Lib/test/test_asyncio/
Dtest_events.py1071 ssl.CertificateError,