Home
last modified time | relevance | path

Searched refs:SSLContext (Results 1 – 25 of 54) sorted by relevance

123

/third_party/python/Doc/library/
Dssl.rst48 For more sophisticated applications, the :class:`ssl.SSLContext` class
50 by SSL sockets created through the :meth:`SSLContext.wrap_socket` method.
77 :meth:`SSLContext.wrap_socket` of an :class:`SSLContext` instance to wrap
101 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
111 context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
125 A convenience function helps create :class:`SSLContext` objects for common
130 Return a new :class:`SSLContext` object with default settings for
133 :class:`SSLContext` constructor directly.
137 :meth:`SSLContext.load_verify_locations`. If all three are
145 as *purpose* sets :data:`~SSLContext.verify_mode` to :data:`CERT_REQUIRED`
[all …]
Dpoplib.rst59 *context* is an optional :class:`ssl.SSLContext` object which allows
81 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
87 Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let
242 *context* parameter is a :class:`ssl.SSLContext` object which allows
248 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
Dsmtplib.rst88 can contain a :class:`~ssl.SSLContext` and allows configuring various
104 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
110 Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let
402 :class:`ssl.SSLContext`.
404 Optional *context* parameter is an :class:`ssl.SSLContext` object; This is
414 Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let
432 :attr:`SSLContext.check_hostname` and *Server Name Indicator* (see
Dhttp.client.rst75 must be a :class:`ssl.SSLContext` instance describing the various SSL
99 :attr:`ssl.SSLContext.post_handshake_auth` for the default *context* or
105 ALPN protocols with :meth:`~ssl.SSLContext.set_alpn_protocol`.
110 Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let
115 :attr:`ssl.SSLContext.check_hostname` attribute of *context* should
Dimaplib.rst92 *ssl_context* is a :class:`ssl.SSLContext` object which allows bundling
112 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
118 Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let
505 and should be a :class:`ssl.SSLContext` object. This will enable
513 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
Dftplib.rst93 is a :class:`ssl.SSLContext` object which allows bundling SSL configuration
108 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
114 Please use :meth:`ssl.SSLContext.load_cert_chain` instead, or let
448 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
Dnntplib.rst106 *ssl_context* is also optional, and is a :class:`~ssl.SSLContext` object.
126 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
262 :class:`ssl.SSLContext` object. Please read :ref:`ssl-security` for best
274 :attr:`ssl.SSLContext.check_hostname` and *Server Name Indication* (see
/third_party/python/Lib/
Dssl.py479 class SSLContext(_SSLContext): class
603 super(SSLContext, SSLContext).minimum_version.__set__(self, value)
611 super(SSLContext, SSLContext).maximum_version.__set__(self, value)
619 super(SSLContext, SSLContext).options.__set__(self, value)
680 super(SSLContext, SSLContext)._msg_callback.__set__(self, None)
713 super(SSLContext, SSLContext)._msg_callback.__set__(self, inner)
725 super(SSLContext, SSLContext).verify_flags.__set__(self, value)
737 super(SSLContext, SSLContext).verify_mode.__set__(self, value)
756 context = SSLContext(PROTOCOL_TLS_CLIENT)
760 context = SSLContext(PROTOCOL_TLS_SERVER)
[all …]
/third_party/python/Lib/test/
Dtest_ssl.py230 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
288 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
290 context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
318 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
321 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
376 ctx = ssl.SSLContext(proto)
611 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
622 ssl.SSLContext(protocol)
630 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
891 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
[all …]
Dtest_smtpnet.py30 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
65 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
Dtest_poplib.py163 context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
382 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
423 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
Dtest_imaplib.py99 context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
553 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
567 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
959 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1043 ssl_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
Dtest_httplib.py1741 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1773 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1793 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1806 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1872 context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
Dtest_ftplib.py333 context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
977 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1009 ctx = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
Dpythoninfo.py508 ('SSLContext', ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)),
Dtest_urllib2_localnet.py602 context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
/third_party/python/Lib/test/test_asyncio/
Dutils.py75 server_context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
83 client_context = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
161 context = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
Dtest_events.py909 sslcontext = ssl.SSLContext(ssl.PROTOCOL_TLS_SERVER)
998 sslcontext_client = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1028 sslcontext_client = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1057 sslcontext_client = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1088 sslcontext_client = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
1114 sslcontext_client = ssl.SSLContext(ssl.PROTOCOL_TLS_CLIENT)
/third_party/python/Misc/NEWS.d/
D3.7.0b2.rst98 constructors. Users were suppose to use ssl.wrap_socket() or SSLContext.
358 Add TLSVersion constants and SSLContext.maximum_version / minimum_version
434 SSLContext.wrap_socket() method.
D3.7.0rc1.rst192 ssl.SSLContext.verify_mode.
D3.6.0b1.rst538 Deprecate ssl-related arguments in favor of SSLContext. The deprecation
549 SSLContext has improved default settings: OP_NO_SSLv2, OP_NO_SSLv3,
660 Convert all ssl module constants to IntEnum and IntFlags. SSLContext
980 Add SSLContext.get_ciphers() method to get a list of all enabled ciphers.
D3.10.0a7.rst366 Fix deadlock when using :class:`ssl.SSLContext` debug callback with
367 :meth:`ssl.SSLContext.sni_callback`.
/third_party/python/Doc/whatsnew/
D3.4.rst153 * The :class:`ssl.SSLContext` class has a :ref:`lot of improvements
158 :func:`ssl.SSLContext.load_verify_locations`).
1430 obtain an :class:`~ssl.SSLContext` whose settings are intended to be a
1432 more stringent than the defaults provided by the :class:`~ssl.SSLContext`
1436 :func:`~ssl.create_default_context` to obtain an :class:`~ssl.SSLContext`
1441 :class:`~ssl.SSLContext` method :meth:`~ssl.SSLContext.load_verify_locations`
1448 :meth:`~ssl.SSLContext.set_default_verify_paths` method uses to set
1453 :class:`~ssl.SSLContext` has a new method,
1454 :meth:`~ssl.SSLContext.cert_store_stats`, that reports the number of loaded
1456 (``crl``\ s), as well as a :meth:`~ssl.SSLContext.get_ca_certs` method that
[all …]
D3.7.rst1332 :attr:`SSLContext.hostname_checks_common_name <ssl.SSLContext.hostname_checks_common_name>`.
1372 feature. Instances must be created with :class:`~ssl.SSLContext` methods
1373 :meth:`~ssl.SSLContext.wrap_socket` and :meth:`~ssl.SSLContext.wrap_bio`.
1377 available as :attr:`SSLContext.minimum_version <ssl.SSLContext.minimum_version>`
1378 and :attr:`SSLContext.maximum_version <ssl.SSLContext.maximum_version>`.
2057 :meth:`ssl.SSLContext.wrap_socket` instead.
2180 :func:`ssl.wrap_socket` or :class:`ssl.SSLContext`.
D3.5.rst139 It can still be enabled by instantiating a :class:`ssl.SSLContext`
1426 accepts an optional :class:`ssl.SSLContext` instance to configure SSL
1766 A new :meth:`SSLContext.wrap_bio() <ssl.SSLContext.wrap_bio>` method can be used
1779 The new :meth:`SSLContext.set_alpn_protocols() <ssl.SSLContext.set_alpn_protocols>`
2044 :class:`ssl.SSLContext` object as a *context* argument, which will be used for
2069 an optional :class:`ssl.SSLContext` instance.

123