Searched refs:ssl_context (Results 1 – 8 of 8) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_imaplib.py | 484 ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) 485 ssl_context.verify_mode = ssl.CERT_REQUIRED 486 ssl_context.check_hostname = True 487 ssl_context.load_verify_locations(CAFILE) 493 ssl_context=ssl_context) 497 ssl_context = ssl.SSLContext(ssl.PROTOCOL_SSLv23) 498 ssl_context.verify_mode = ssl.CERT_REQUIRED 499 ssl_context.check_hostname = True 500 ssl_context.load_verify_locations(CAFILE) 504 ssl_context=ssl_context) [all …]
|
D | test_nntplib.py | 1511 return nntplib.NNTP_SSL(*pos, ssl_context=bypass_context, **kw)
|
/external/python/cpython3/Lib/ |
D | imaplib.py | 790 def starttls(self, ssl_context=None): argument 799 if ssl_context is None: 800 ssl_context = ssl._create_stdlib_context() 803 self.sock = ssl_context.wrap_socket(self.sock, 1263 certfile=None, ssl_context=None): argument 1264 if ssl_context is not None and keyfile is not None: 1267 if ssl_context is not None and certfile is not None: 1276 if ssl_context is None: 1277 ssl_context = ssl._create_stdlib_context(certfile=certfile, 1279 self.ssl_context = ssl_context [all …]
|
D | nntplib.py | 1068 user=None, password=None, ssl_context=None, argument 1077 self.sock = _encrypt_on(self.sock, ssl_context, host)
|
/external/python/cpython3/Doc/library/ |
D | imaplib.rst | 81 certfile=None, ssl_context=None) 87 *ssl_context* is a :class:`ssl.SSLContext` object which allows bundling 92 *keyfile* and *certfile* are a legacy alternative to *ssl_context* - they 95 mutually exclusive with *ssl_context*, a :class:`ValueError` is raised 96 if *keyfile*/*certfile* is provided along with *ssl_context*. 99 *ssl_context* parameter added. 108 *keyfile* and *certfile* are deprecated in favor of *ssl_context*. 478 .. method:: IMAP4.starttls(ssl_context=None) 480 Send a ``STARTTLS`` command. The *ssl_context* argument is optional
|
D | nntplib.rst | 89 .. class:: NNTP_SSL(host, port=563, user=None, password=None, ssl_context=None, readermode=None, us… 95 *ssl_context* is also optional, and is a :class:`~ssl.SSLContext` object. 235 .. method:: NNTP.starttls(ssl_context=None) 238 connection. The *ssl_context* argument is optional and should be a
|
/external/deqp/external/ |
D | fetch_sources.py | 119 ssl_context = ssl._create_unverified_context() 120 result = urlopen(url, context=ssl_context)
|
/external/curl/lib/vtls/ |
D | polarssl.c | 75 ssl_context ssl;
|