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

Renci.SshNet.Security.DsaKey

public class DsaKey : Key, IDisposable
Contains DSA private and public key.
namespace Renci.SshNet.Security { public class DsaKey : Key, IDisposable { public BigInteger P { get; } public BigInteger Q { get; } public BigInteger G { get; } public BigInteger Y { get; } public BigInteger X { get; } public DsaKey(SshKeyData publicKeyData); public DsaKey(byte[] privateKeyData); public DsaKey(BigInteger p, BigInteger q, BigInteger g, BigInteger y, BigInteger x); public void Dispose(); protected virtual void Dispose(bool disposing); } }