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=…
143 variable :envvar:`SSLKEYLOGFILE` is set, :func:`create_default_context`
164 ctx = ssl.create_default_context(Purpose.CLIENT_AUTH)
1023 Option for :func:`create_default_context` and
1032 Option for :func:`create_default_context` and
1452 :func:`create_default_context` lets the :mod:`ssl` module choose
1994 >>> ssl.create_default_context().options # doctest: +SKIP
2047 >>> ssl.create_default_context().verify_flags # doctest: +SKIP
2059 >>> ssl.create_default_context().verify_mode
2142 automatically with :func:`.create_default_context`.
2219 >>> context = ssl.create_default_context()
2331 context = ssl.create_default_context(ssl.Purpose.CLIENT_AUTH)
2602 :func:`create_default_context` function to create your SSL context.
2612 >>> context = ssl.create_default_context()