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

Implements

Inherited Members

Constructors

KeyExchangeInitMessage()

Initializes a new instance of the Renci.SshNet.Messages.Transport.KeyExchangeInitMessage class.

public KeyExchangeInitMessage()

Properties

BufferCapacity

Gets the size of the message in bytes.

protected override int BufferCapacity { get; }

Property Value

int

CompressionAlgorithmsClientToServer

Gets or sets supported compression algorithms client to server.

public string[] CompressionAlgorithmsClientToServer { get; set; }

Property Value

string[]

CompressionAlgorithmsServerToClient

Gets or sets supported compression algorithms server to client.

public string[] CompressionAlgorithmsServerToClient { get; set; }

Property Value

string[]

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[]

EncryptionAlgorithmsServerToClient

Gets or sets supported encryption algorithms server to client.

public string[] EncryptionAlgorithmsServerToClient { get; set; }

Property Value

string[]

FirstKexPacketFollows

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

public bool FirstKexPacketFollows { get; set; }

Property Value

bool

KeyExchangeAlgorithms

Gets or sets supported key exchange algorithms.

public string[] KeyExchangeAlgorithms { get; set; }

Property Value

string[]

LanguagesClientToServer

Gets or sets supported languages client to server.

public string[] LanguagesClientToServer { get; set; }

Property Value

string[]

LanguagesServerToClient

Gets or sets supported languages server to client.

public string[] LanguagesServerToClient { get; set; }

Property Value

string[]

MacAlgorithmsClientToServer

Gets or sets supported hash algorithms client to server.

public string[] MacAlgorithmsClientToServer { get; set; }

Property Value

string[]

MacAlgorithmsServerToClient

Gets or sets supported hash algorithms server to client.

public string[] MacAlgorithmsServerToClient { get; set; }

Property Value

string[]

MessageName

Gets the message name as defined in RFC 4250.

public override string MessageName { get; }

Property Value

string

MessageNumber

Gets the message number as defined in RFC 4250.

public override byte MessageNumber { get; }

Property Value

byte

Reserved

Gets or sets the reserved value.

public uint Reserved { get; set; }

Property Value

uint

ServerHostKeyAlgorithms

Gets or sets supported server host key algorithms.

public string[] ServerHostKeyAlgorithms { get; set; }

Property Value

string[]

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()