Specifies a list of allowed encryption 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, EncryptionAlgorithms and EncryptionModes still apply. 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 SetEncryptionAlgorithms ( _
	ParamArray algorithmIds As String() _
)
C#
public void SetEncryptionAlgorithms(
	params string[] algorithmIds
)

Parameters

algorithmIds
Type: array<System..::..String>[]()[][]
List of encryption algorithm IDs

Remarks

Currently, supported algorithms are: "aes256-gcm@openssh.com", "aes128-gcm@openssh.com", "aes256-ctr", "aes192-ctr", "aes128-ctr", "aes256-cbc", "aes192-cbc", "aes128-cbc", "3des-ctr", "3des-cbc", "twofish256-ctr", "twofish192-ctr", "twofish128-ctr", "twofish256-cbc", "twofish192-cbc", "twofish128-cbc", "twofish-cbc", "blowfish-ctr", "blowfish-cbc", "chacha20-poly1305@openssh.com" "arcfour256", "arcfour128", "arcfour"

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also