Rebex
Products Downloads Buy Support Contact
Show / Hide Table of Contents

SshParameters.SetKeyExchangeAlgorithms Method

Namespace: Rebex.Net
Assembly: Rebex.Networking.dll (version 7.0.9147)

SetKeyExchangeAlgorithms(String[])

Specifies a list of allowed key exchange algorithms IDs and their order. Setting the list to null (Nothing in VB.NET) or an empty list specifies that the default list and order is to be used. When the list is set, KeyExchangeAlgorithms still applies. See the remarks for a list of supported algorithm IDs.

Declaration
public void SetKeyExchangeAlgorithms(params string[] algorithmIds)
Parameters
Type Name Description
String[] algorithmIds

List of key exchange algorithm IDs.

Remarks

Currently, supported algorithms are: "diffie-hellman-group1-sha1", "diffie-hellman-group14-sha1", "diffie-hellman-group-exchange-sha1", "diffie-hellman-group-exchange-sha256", "diffie-hellman-group14-sha256", "diffie-hellman-group15-sha512", "diffie-hellman-group16-sha512", "curve25519-sha256", "curve25519-sha256@libssh.org", "ecdh-sha2-nistp256", "ecdh-sha2-nistp384", "ecdh-sha2-nistp521".

In This Article
  • SetKeyExchangeAlgorithms(String[])
© REBEX ČR s.r.o. Back to top
Privacy policy
Manage cookies