/external/python/cpython3/Lib/test/ |
D | test_imaplib.py | 502 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) 503 self.assertEqual(ssl_context.verify_mode, ssl.CERT_REQUIRED) 504 self.assertEqual(ssl_context.check_hostname, True) 505 ssl_context.load_verify_locations(CAFILE) 512 ssl_context=ssl_context) 516 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) 517 ssl_context.load_verify_locations(CAFILE) 521 ssl_context=ssl_context) 894 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT) 895 ssl_context.load_verify_locations(CAFILE) [all …]
|
D | test_nntplib.py | 1542 return nntplib.NNTP_SSL(*pos, ssl_context=bypass_context, **kw)
|
/external/python/httplib2/tests/ |
D | test_https.py | 75 not hasattr(tests.ssl_context(), "minimum_version"), 92 not hasattr(tests.ssl_context(), "maximum_version"), 110 not hasattr(tests.ssl_context(), "minimum_version"), 130 not hasattr(tests.ssl_context(), "maximum_version"), 189 not hasattr(tests.ssl_context(), "set_servername_callback"),
|
D | __init__.py | 354 context = ssl_context() 749 def ssl_context(protocol=None): function
|
/external/grpc-grpc/src/core/tsi/ |
D | ssl_transport_security.cc | 88 SSL_CTX* ssl_context; member 1431 return create_tsi_ssl_handshaker(self->ssl_context, 1, server_name_indication, in tsi_ssl_client_handshaker_factory_create_handshaker() 1446 if (self->ssl_context != nullptr) SSL_CTX_free(self->ssl_context); in tsi_ssl_client_handshaker_factory_destroy() 1600 SSL_CTX* ssl_context = SSL_get_SSL_CTX(ssl); in server_handshaker_factory_new_session_callback() local 1601 if (ssl_context == nullptr) { in server_handshaker_factory_new_session_callback() 1604 void* arg = SSL_CTX_get_ex_data(ssl_context, g_ssl_ctx_ex_factory_index); in server_handshaker_factory_new_session_callback() 1640 SSL_CTX* ssl_context = nullptr; in tsi_create_ssl_client_handshaker_factory_with_options() local 1652 ssl_context = SSL_CTX_new(TLSv1_2_method()); in tsi_create_ssl_client_handshaker_factory_with_options() 1653 if (ssl_context == nullptr) { in tsi_create_ssl_client_handshaker_factory_with_options() 1662 impl->ssl_context = ssl_context; in tsi_create_ssl_client_handshaker_factory_with_options() [all …]
|
/external/python/cpython3/Lib/ |
D | imaplib.py | 800 def starttls(self, ssl_context=None): argument 809 if ssl_context is None: 810 ssl_context = ssl._create_stdlib_context() 813 self.sock = ssl_context.wrap_socket(self.sock, 1280 certfile=None, ssl_context=None): argument 1281 if ssl_context is not None and keyfile is not None: 1284 if ssl_context is not None and certfile is not None: 1293 if ssl_context is None: 1294 ssl_context = ssl._create_stdlib_context(certfile=certfile, 1296 self.ssl_context = ssl_context [all …]
|
D | nntplib.py | 1071 user=None, password=None, ssl_context=None, argument 1081 self.sock = _encrypt_on(self.sock, ssl_context, host)
|
/external/deqp/external/ |
D | fetch_sources.py | 119 ssl_context = ssl._create_unverified_context() 120 result = urlopen(url, context=ssl_context) 208 ssl_context = ssl._create_unverified_context() 209 result = urlopen(url, context=ssl_context)
|
/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*. 485 .. method:: IMAP4.starttls(ssl_context=None) 487 Send a ``STARTTLS`` command. The *ssl_context* argument is optional
|
D | nntplib.rst | 96 .. class:: NNTP_SSL(host, port=563, user=None, password=None, ssl_context=None, readermode=None, us… 102 *ssl_context* is also optional, and is a :class:`~ssl.SSLContext` object.
|
/external/python/cpython3/Lib/test/test_asyncio/ |
D | functional.py | 136 def start_tls(self, ssl_context, *, argument 140 ssl_sock = ssl_context.wrap_socket(
|
/external/curl/lib/vtls/ |
D | polarssl.c | 76 ssl_context ssl;
|
/external/python/cpython3/Lib/asyncio/ |
D | base_events.py | 275 def __init__(self, loop, sockets, protocol_factory, ssl_context, backlog, argument 283 self._ssl_context = ssl_context
|