Lines Matching refs:create_default_context
72 :func:`create_default_context` returns a new context with secure default
83 context = ssl.create_default_context()
121 .. function:: create_default_context(purpose=Purpose.SERVER_AUTH, cafile=None, capath=None, cadata=…
160 ctx = ssl.create_default_context(Purpose.CLIENT_AUTH)
1015 Option for :func:`create_default_context` and
1024 Option for :func:`create_default_context` and
1440 :func:`create_default_context` lets the :mod:`ssl` module choose
1953 >>> ssl.create_default_context().options # doctest: +SKIP
2006 >>> ssl.create_default_context().verify_flags # doctest: +SKIP
2018 >>> ssl.create_default_context().verify_mode
2101 automatically with :func:`.create_default_context`.
2178 >>> context = ssl.create_default_context()
2286 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
2554 :func:`create_default_context` function to create your SSL context.
2564 >>> context = ssl.create_default_context()