Table of Contents

Class KeyExchangeHybridReplyMessage

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

Represents SSH_MSG_KEX_HYBRID_REPLY message.

public class KeyExchangeHybridReplyMessage : Message

Inheritance

Inherited Members

Properties

BufferCapacity

Gets the size of the message in bytes.

protected override int BufferCapacity { get; }

Property Value

int

KS

Gets a string encoding an X.509v3 certificate containing the server's ECDSA public host key.

public byte[] KS { get; }

Property Value

byte[]

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

SReply

Gets the server reply.

public byte[] SReply { get; }

Property Value

byte[]

Remarks

The server reply is the concatenation of S_CT2 and S_PK1 (S_REPLY = S_CT2 || S_PK1). Typically, S_PK1 represents the ephemeral (EC)DH server public key. S_CT2 represents the ciphertext 'ct' output of the corresponding KEM's 'Encaps' algorithm generated by the server which encapsulates a secret to the client public key C_PK2.

Signature

Gets an octet string containing the server's signature of the newly established exchange hash value.

public byte[] Signature { get; }

Property Value

byte[]

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