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

SshParameters.SetMacAlgorithms Method

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

SetMacAlgorithms(String[])

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.

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

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".

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