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

Renci.SshNet.Security.Key

public abstract class Key
Base class for asymmetric cipher algorithms
namespace Renci.SshNet.Security { public abstract class Key { protected BigInteger[] _privateKey; protected abstract DigitalSignature DigitalSignature { get; } public abstract BigInteger[] Public { get; set; } public abstract int KeyLength { get; } protected Key(byte[] data); protected Key(); public byte[] Sign(byte[] data); public bool VerifySignature(byte[] data, byte[] signature); } }