SshAlgorithmPreferences¶
Per-category algorithm preference lists. Every parameter defaults to the
implemented set, so construct with named arguments and override only what
differs — e.g. SshAlgorithmPreferences(where cipher_client_to_server' =
my_ciphers, cipher_server_to_client' = my_ciphers). Passing all six lists
positionally is error-prone (they share a type, so a transposition compiles
silently); prefer named arguments.
Constructors¶
create¶
new val create(
kex': Array[String val] val = SshAlgorithmDefaults.kex(),
host_key': Array[String val] val = SshAlgorithmDefaults.host_key(),
cipher_client_to_server': Array[String val] val = SshAlgorithmDefaults.ciphers(),
cipher_server_to_client': Array[String val] val = SshAlgorithmDefaults.ciphers(),
mac_client_to_server': Array[String val] val = SshAlgorithmDefaults.macs(),
mac_server_to_client': Array[String val] val = SshAlgorithmDefaults.macs())
: SshAlgorithmPreferences val^
Parameters¶
- kex': Array[String val] val = SshAlgorithmDefaults.kex()
- host_key': Array[String val] val = SshAlgorithmDefaults.host_key()
- cipher_client_to_server': Array[String val] val = SshAlgorithmDefaults.ciphers()
- cipher_server_to_client': Array[String val] val = SshAlgorithmDefaults.ciphers()
- mac_client_to_server': Array[String val] val = SshAlgorithmDefaults.macs()
- mac_server_to_client': Array[String val] val = SshAlgorithmDefaults.macs()