MCPcopy Index your code
hub / github.com/python/cpython / get_channel_binding

Method get_channel_binding

Lib/ssl.py:969–973  ·  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

967 return self._sslobj.shutdown()
968
969 def get_channel_binding(self, cb_type="tls-unique"):
970 """Get channel binding data for current connection. Raise ValueError
971 if the requested `cb_type` is not supported. Return bytes of the data
972 or None if the data is not available (e.g. before the handshake)."""
973 return self._sslobj.get_channel_binding(cb_type)
974
975 def version(self):
976 """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