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

RsaKey

public class RsaKey : Key, IDisposable
Contains RSA private and public key
public BigInteger D { get; }

Gets the D.

public BigInteger DP { get; }

Gets the DP.

public BigInteger DQ { get; }

Gets the DQ.

public BigInteger Exponent { get; }

Gets the exponent.

public BigInteger InverseQ { get; }

Gets the inverse Q.

public BigInteger Modulus { get; }

Gets the modulus.

public BigInteger P { get; }

Gets the P.

public BigInteger Q { get; }

Gets the Q.

public RsaKey()

Initializes a new instance of the RsaKey class.

public RsaKey(byte[] data)

Initializes a new instance of the RsaKey class.

public RsaKey(BigInteger modulus, BigInteger exponent, BigInteger d, BigInteger p, BigInteger q, BigInteger inverseQ)

Initializes a new instance of the RsaKey class.

public void Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

protected virtual void Dispose(bool disposing)

Releases unmanaged and - optionally - managed resources