pub fn read_hello(
frame: &[u8],
station: &Station,
) -> Result<u64, HandshakeError>Expand description
The client’s reading of HELLO against the version its CONNECT carried
(station, as answer_challenge returned it): the station’s capability
bits, or why not. After a v5 CONNECT an accepting HELLO must be version 5
with a session proof that verifies under the station’s identity key over
this session. A v4 refusal is how an old station answers
(HandshakeError::Refused); a v4 acceptance is never taken as a v4
connection.