Home | History | Annotate | Download | only in Lib

Lines Matching refs:_context

363                          _context=self)
536 _context=None):
539 if _context:
540 self._context = _context
549 self._context = SSLContext(ssl_version)
550 self._context.verify_mode = cert_reqs
552 self._context.load_verify_locations(ca_certs)
554 self._context.load_cert_chain(certfile, keyfile)
556 self._context.set_npn_protocols(npn_protocols)
558 self._context.set_ciphers(ciphers)
581 if self._context.check_hostname and not server_hostname:
604 self._sslobj = self._context._wrap_socket(self._sock, server_side,
619 return self._context
623 self._context = ctx