Searched refs:cb_type (Results 1 – 4 of 4) sorted by relevance
345 const char *cb_type);355 const char *cb_type = "tls-unique"; in _ssl__SSLSocket_get_channel_binding() local369 cb_type = PyUnicode_AsUTF8AndSize(args[0], &cb_type_length); in _ssl__SSLSocket_get_channel_binding()370 if (cb_type == NULL) { in _ssl__SSLSocket_get_channel_binding()373 if (strlen(cb_type) != (size_t)cb_type_length) { in _ssl__SSLSocket_get_channel_binding()378 return_value = _ssl__SSLSocket_get_channel_binding_impl(self, cb_type); in _ssl__SSLSocket_get_channel_binding()
980 def get_channel_binding(self, cb_type="tls-unique"): argument984 return self._sslobj.get_channel_binding(cb_type)1394 def get_channel_binding(self, cb_type="tls-unique"): argument1396 return self._sslobj.get_channel_binding(cb_type)1398 if cb_type not in CHANNEL_BINDING_TYPES:1400 "{0} channel binding type not implemented".format(cb_type)
2690 const char *cb_type) in _ssl__SSLSocket_get_channel_binding_impl() argument2696 if (strcmp(cb_type, "tls-unique") == 0) { in _ssl__SSLSocket_get_channel_binding_impl()2710 cb_type in _ssl__SSLSocket_get_channel_binding_impl()
1333 .. method:: SSLSocket.get_channel_binding(cb_type="tls-unique")1338 The *cb_type* parameter allow selection of the desired channel binding