XMPP::ChannelBinding
Channel Binding support for TLS connections Implements RFC 5929 (for TLS 1.2) and RFC 9266 (for TLS 1.3)
Class methods
Format channel binding data for SCRAM Returns the base64-encoded channel binding data in GS2 format
get_channel_binding(socket : OpenSSL::SSL::Socket::Client, advertised_types : Array(String) | Nil = nil) : Tuple(Type, Bytes) | Nil
Get the appropriate channel binding data for the TLS connection Returns tuple of (binding_type, binding_data) or nil if not available ameba:disable Metrics/CyclomaticComplexity