Lines Matching refs:_context
369 _context=self)
542 _context=None): argument
545 if _context:
546 self._context = _context
555 self._context = SSLContext(ssl_version)
556 self._context.verify_mode = cert_reqs
558 self._context.load_verify_locations(ca_certs)
560 self._context.load_cert_chain(certfile, keyfile)
562 self._context.set_npn_protocols(npn_protocols)
564 self._context.set_ciphers(ciphers)
587 if self._context.check_hostname and not server_hostname:
610 self._sslobj = self._context._wrap_socket(self._sock, server_side,
625 return self._context
629 self._context = ctx