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

Renci.SshNet.Security.RsaKey

public class RsaKey : Key, IDisposable
Contains RSA private and public key
namespace Renci.SshNet.Security { public class RsaKey : Key, IDisposable { public BigInteger Modulus { get; } public BigInteger Exponent { get; } public BigInteger D { get; } public BigInteger P { get; } public BigInteger Q { get; } public BigInteger DP { get; } public BigInteger DQ { get; } public BigInteger InverseQ { get; } public RsaKey(); public RsaKey(byte[] data); public RsaKey(BigInteger modulus, BigInteger exponent, BigInteger d, BigInteger p, BigInteger q, BigInteger inverseQ); public void Dispose(); protected virtual void Dispose(bool disposing); } }