Table of Contents

Class KeyExchangeInitMessage

Namespace
Renci.SshNet.Messages.Transport
Assembly
Renci.SshNet.dll

Represents SSH_MSG_KEXINIT message.

public class KeyExchangeInitMessage : Message, IKeyExchangedAllowed
Inheritance
KeyExchangeInitMessage
Implements
Inherited Members

Constructors

KeyExchangeInitMessage()

Initializes a new instance of the KeyExchangeInitMessage class.

public KeyExchangeInitMessage()

Properties

BufferCapacity

Gets the size of the message in bytes.

protected override int BufferCapacity { get; }

Property Value

int

-1 to indicate that the size of the message cannot be determined, or is too costly to calculate.

CompressionAlgorithmsClientToServer

Gets or sets supported compression algorithms client to server.

public string[] CompressionAlgorithmsClientToServer { get; set; }

Property Value

string[]

Supported compression algorithms client to server.

CompressionAlgorithmsServerToClient

Gets or sets supported compression algorithms server to client.

public string[] CompressionAlgorithmsServerToClient { get; set; }

Property Value

string[]

Supported compression algorithms server to client.

Gets session cookie.

public byte[] Cookie { get; }

Property Value

byte[]

EncryptionAlgorithmsClientToServer

Gets or sets supported encryption algorithms client to server.

public string[] EncryptionAlgorithmsClientToServer { get; set; }

Property Value

string[]

Supported encryption algorithms client to server.

EncryptionAlgorithmsServerToClient

Gets or sets supported encryption algorithms server to client.

public string[] EncryptionAlgorithmsServerToClient { get; set; }

Property Value

string[]

Supported encryption algorithms server to client.

FirstKexPacketFollows

Gets or sets a value indicating whether first key exchange packet follows.

public bool FirstKexPacketFollows { get; set; }

Property Value

bool

true if first key exchange packet follows; otherwise, false.

KeyExchangeAlgorithms

Gets or sets supported key exchange algorithms.

public string[] KeyExchangeAlgorithms { get; set; }

Property Value

string[]

Supported key exchange algorithms.

LanguagesClientToServer

Gets or sets supported languages client to server.

public string[] LanguagesClientToServer { get; set; }

Property Value

string[]

Supported languages client to server.

LanguagesServerToClient

Gets or sets supported languages server to client.

public string[] LanguagesServerToClient { get; set; }

Property Value

string[]

The languages server to client.

MacAlgorithmsClientToServer

Gets or sets supported hash algorithms client to server.

public string[] MacAlgorithmsClientToServer { get; set; }

Property Value

string[]

Supported hash algorithms client to server.

MacAlgorithmsServerToClient

Gets or sets supported hash algorithms server to client.

public string[] MacAlgorithmsServerToClient { get; set; }

Property Value

string[]

Supported hash algorithms server to client.

MessageName

public override string MessageName { get; }

Property Value

string

MessageNumber

public override byte MessageNumber { get; }

Property Value

byte

Reserved

Gets or sets the reserved value.

public uint Reserved { get; set; }

Property Value

uint

The reserved value.

ServerHostKeyAlgorithms

Gets or sets supported server host key algorithms.

public string[] ServerHostKeyAlgorithms { get; set; }

Property Value

string[]

Supported server host key algorithms.

Methods

LoadData()

Called when type specific data need to be loaded.

protected override void LoadData()

SaveData()

Called when type specific data need to be saved.

protected override void SaveData()