<PackageReference Include="SSH.NET" Version="2020.0.2" />

Renci.SshNet.Security.KeyExchangeDiffieHellman

Represents base class for Diffie Hellman key exchange algorithm
namespace Renci.SshNet.Security { internal abstract class KeyExchangeDiffieHellman : KeyExchange { protected BigInteger _group; protected BigInteger _prime; protected byte[] _clientPayload; protected byte[] _serverPayload; protected byte[] _clientExchangeValue; protected byte[] _serverExchangeValue; protected BigInteger _privateExponent; protected byte[] _hostKey; protected byte[] _signature; protected abstract int HashSize { get; } protected void PopulateClientExchangeValue(); protected virtual void HandleServerDhReply(byte[] hostKey, byte[] serverExchangeValue, byte[] signature); protected KeyExchangeDiffieHellman(); } }