MCPcopy Index your code
hub / github.com/RustPython/RustPython / get_channel_binding

Method get_channel_binding

Lib/ssl.py:957–961  ·  view source on GitHub ↗

Get channel binding data for current connection. Raise ValueError if the requested `cb_type` is not supported. Return bytes of the data or None if the data is not available (e.g. before the handshake).

(self, cb_type="tls-unique")

Source from the content-addressed store, hash-verified

955 return self._sslobj.shutdown()
956
957 def get_channel_binding(self, cb_type="tls-unique"):
958 """Get channel binding data for current connection. Raise ValueError
959 if the requested `cb_type` is not supported. Return bytes of the data
960 or None if the data is not available (e.g. before the handshake)."""
961 return self._sslobj.get_channel_binding(cb_type)
962
963 def version(self):
964 """Return a string identifying the protocol version used by the

Callers 6

get_channel_bindingMethod · 0.45
test_bio_handshakeMethod · 0.45
runMethod · 0.45

Calls

no outgoing calls

Tested by 5

test_bio_handshakeMethod · 0.36
runMethod · 0.36