PyDocs

Nav

Networking and Interprocess Communication

SSLContext.options

ssl

attribute of SSLContext (source) Deprecated 3.7not WASI
Deprecated since 3.7. All OP_NO_SSL* and OP_NO_TLS* options have been deprecated since Python 3.7. Use SSLContext.minimum_version and SSLContext.maximum_version instead.
An integer representing the set of SSL options enabled on this context. The default value is OP_ALL, but you can specify other options such as OP_NO_SSLv2 by ORing them together.
Changed in 3.6
  • 3.6: SSLContext.options returns Options flags: >>> ssl.create_default_context().options <Options.OP_ALL|OP_NO_SSLv3|OP_NO_SSLv2|OP_NO_COMPRESSION: 2197947391>
1 Example
>>> ssl.create_default_context().options
<Options.OP_ALL|OP_NO_SSLv3|OP_NO_SSLv2|OP_NO_COMPRESSION: 2197947391>
from the Python docs
See Also
No see-alsos for ssl/SSLContext.options
0 Notes
No notes for SSLContext.options