SshSession.setAlgorithmPreferences

void setAlgorithmPreferences(scope const SshAlgorithmPreferences prefs)

Sets algorithm preferences. Legal only before the handshake starts; later calls are rejected with an SshError.CAPABILITY-style exception in the implementation.

Parameters

prefsOrdered preference lists; an empty struct selects the recommended initial profile.