Specifies a list of allowed MAC 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, MacAlgorithms 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 SetMacAlgorithms ( _
	ParamArray algorithmIds As String() _
)
C#
public void SetMacAlgorithms(
	params string[] algorithmIds
)

Parameters

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

Remarks

Currently, supported algorithms are: "hmac-sha2-256-etm@openssh.com", "hmac-sha2-256", "hmac-sha2-512-etm@openssh.com", "hmac-sha2-512", "hmac-sha1", "hmac-md5", "hmac-sha1-96", "hmac-md5-96"

Version Information

.NET Compact Framework

Supported in: 3.9, 3.5

See Also