Home
last modified time | relevance | path

Searched refs:sslopt (Results 1 – 6 of 6) sorted by relevance

/external/chromium-trace/catapult/telemetry/third_party/websocket-client/websocket/
D_http.py77 sock = _ssl_socket(sock, options.sslopt, hostname)
134 def _wrap_sni_socket(sock, sslopt, hostname, check_hostname): argument
135 context = ssl.SSLContext(sslopt.get('ssl_version', ssl.PROTOCOL_SSLv23))
137 if sslopt.get('cert_reqs', ssl.CERT_NONE) != ssl.CERT_NONE:
138 context.load_verify_locations(cafile=sslopt.get('ca_certs', None))
139 if sslopt.get('certfile', None):
141 sslopt['certfile'],
142 sslopt.get('keyfile', None),
143 sslopt.get('password', None),
147 context.verify_mode = sslopt['cert_reqs']
[all …]
D_socket.py48 def __init__(self, sockopt, sslopt): argument
51 if sslopt is None:
52 sslopt = {}
54 self.sslopt = sslopt
D_app.py139 def run_forever(self, sockopt=None, sslopt=None, argument
170 if sslopt is None:
171 sslopt = {}
179 self.get_mask_key, sockopt=sockopt, sslopt=sslopt,
D_core.py78 def __init__(self, get_mask_key=None, sockopt=None, sslopt=None, argument
84 self.sock_opt = sock_opt(sockopt, sslopt)
478 sslopt = options.pop("sslopt", {})
482 websock = class_(sockopt=sockopt, sslopt=sslopt,
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/
DREADME.rst152 Please set sslopt to {"cert_reqs": ssl.CERT_NONE}.
159 ws.run_forever(sslopt={"cert_reqs": ssl.CERT_NONE})
166 sslopt={"cert_reqs": ssl.CERT_NONE})
172 ws = websocket.WebSocket(sslopt={"cert_reqs": ssl.CERT_NONE})
179 Please set sslopt to {"check_hostname": False}.
187 ws.run_forever(sslopt={"check_hostname": False})
194 sslopt={"check_hostname": False})
200 ws = websocket.WebSocket(sslopt={"check_hostname": False})
/external/chromium-trace/catapult/telemetry/third_party/websocket-client/bin/
Dwsdump.py133 ws = websocket.create_connection(args.url, sslopt=opts, **options)