Home | History | Annotate | Download | only in Lib

Lines Matching defs:SSLContext

371     """SSLContext purpose flags with X509v3 Extended Key Usage objects
377 class SSLContext(_SSLContext):
378 """An SSLContext holds various SSL-related configuration options and
459 super(SSLContext, SSLContext).options.__set__(self, value)
467 super(SSLContext, SSLContext).verify_flags.__set__(self, value)
479 super(SSLContext, SSLContext).verify_mode.__set__(self, value)
484 """Create a SSLContext object with default settings.
493 # SSLContext sets OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_COMPRESSION,
496 context = SSLContext(PROTOCOL_TLS)
518 """Create a SSLContext object for Python stdlib modules
520 All Python stdlib modules shall use this function to create SSLContext
528 # SSLContext sets OP_NO_SSLv2, OP_NO_SSLv3, OP_NO_COMPRESSION,
531 context = SSLContext(protocol)
568 ``SSLContext.wrap_bio``. This class is typically used by framework authors
586 """The SSLContext that is currently in use."""
736 self._context = SSLContext(ssl_version)