XMPP::ScramDowngradeProtection
XEP-0474: SASL SCRAM Downgrade Protection
Constants
RECORD_SEPARATOR = '\u001E'
UNIT_SEPARATOR = '\u001F'
Class methods
calculate_hash(mechanisms : Array(String), channel_binding_types : Array(String), algorithm : OpenSSL::Algorithm) : String
Sourcecheck_downgrade(selected_mechanism : AuthMechanism, available_mechanisms : Array(String), tls_available : Bool) : Bool
Retained as a public policy helper for callers selecting mechanisms.