Renci.SshNet.Security.KeyExchangeEC
namespace Renci.SshNet.Security
{
internal abstract class KeyExchangeEC : KeyExchange
{
protected abstract class Impl : IDisposable
{
public abstract byte[] GenerateClientPublicKey();
public abstract byte[] CalculateAgreement(byte[] serverPublicKey);
protected virtual void Dispose(bool disposing);
public void Dispose();
protected Impl();
}
protected byte[] _clientPayload;
protected byte[] _serverPayload;
protected byte[] _clientExchangeValue;
protected byte[] _serverExchangeValue;
protected byte[] _hostKey;
protected byte[] _signature;
protected abstract int HashSize { get; }
protected KeyExchangeEC();
}
}