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.
Namespace:
Rebex.Net
Assembly:
Rebex.Networking (in Rebex.Networking.dll)
Syntax
Visual Basic |
---|
Public Sub SetKeyExchangeAlgorithms ( _ ParamArray algorithmIds As String() _ ) |
C# |
---|
public void SetKeyExchangeAlgorithms( params string[] algorithmIds ) |
Parameters
- algorithmIds
- Type: array<System..::..String>[]()[][]
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",