firstKexAlgorithm

fnstring firstKexAlgorithm(scope const SshKexInit server) @safe pure nothrow

Returns the server's actual guessed key exchange.

The guess a server announces with first_kex_packet_follows is the first real (non-indicator) entry of its kex list.

Parameters

serverThe server's parsed KEXINIT.

Returns

The first non-indicator kex name, or an empty string when the

list carries only indicators.